from django.db import models
from django.contrib.auth.models import User
from autoslug import AutoSlugField


class Category(models.Model):
    title = models.CharField(max_length=100)
    slug = AutoSlugField(populate_from='title', unique=True)
    user = models.ForeignKey(User, on_delete=models.CASCADE)


    class Meta:
        abstract = True


class Abs(models.Model):
    title = models.CharField(max_length=100)
    description = models.TextField(null=True, blank=True)
    amount = models.FloatField()
    date = models.DateField(auto_now=True)
    slug = AutoSlugField(populate_from='title', unique=True)


    class Meta:
        abstract = True

0f6da4413966fdb78360a65ded56d720bea2db91
<mask token>


class Abs(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        abstract = True

<mask token>


class Category(models.Model):
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        abstract = True


class Abs(models.Model):
    title = models.CharField(max_length=100)
    description = models.TextField(null=True, blank=True)
    amount = models.FloatField()
    date = models.DateField(auto_now=True)
    slug = AutoSlugField(populate_from='title', unique=True)


    class Meta:
        abstract = True

<mask token>


class Category(models.Model):
    title = models.CharField(max_length=100)
    slug = AutoSlugField(populate_from='title', unique=True)
    user = models.ForeignKey(User, on_delete=models.CASCADE)


    class Meta:
        abstract = True


class Abs(models.Model):
    title = models.CharField(max_length=100)
    description = models.TextField(null=True, blank=True)
    amount = models.FloatField()
    date = models.DateField(auto_now=True)
    slug = AutoSlugField(populate_from='title', unique=True)


    class Meta:
        abstract = True

from django.db import models
from django.contrib.auth.models import User
from autoslug import AutoSlugField


class Category(models.Model):
    title = models.CharField(max_length=100)
    slug = AutoSlugField(populate_from='title', unique=True)
    user = models.ForeignKey(User, on_delete=models.CASCADE)


    class Meta:
        abstract = True


class Abs(models.Model):
    title = models.CharField(max_length=100)
    description = models.TextField(null=True, blank=True)
    amount = models.FloatField()
    date = models.DateField(auto_now=True)
    slug = AutoSlugField(populate_from='title', unique=True)


    class Meta:
        abstract = True
