поправил модели в приложениях
This commit is contained in:
parent
d905d6f26b
commit
27f9e40344
|
|
@ -2,7 +2,6 @@ from django.db import models
|
|||
|
||||
|
||||
class News(models.Model):
|
||||
id = models.BigAutoField(primary_key=True)
|
||||
name = models.CharField(max_length=255)
|
||||
description = models.TextField()
|
||||
date = models.DateTimeField(blank=True)
|
||||
|
|
|
|||
|
|
@ -2,6 +2,5 @@ from django.db import models
|
|||
|
||||
|
||||
class Rubric(models.Model):
|
||||
id = models.BigAutoField(primary_key=True)
|
||||
name = models.CharField(max_length=255)
|
||||
description = models.TextField()
|
||||
|
|
|
|||
|
|
@ -14,12 +14,6 @@ class Profile(models.Model):
|
|||
# playlists = models.ManyToManyField(Playlist)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# #JWT
|
||||
# from django.contrib.auth.models import User
|
||||
# from rest_framework.authtoken.models import Token
|
||||
|
|
|
|||
Loading…
Reference in New Issue