Удаление комментариев
This commit is contained in:
1 parent
881340031b
commit
d39a8a8b0c
5 files changed
+63
-63
No files matched your search
@@ -4,12 +4,12 @@ from accounts.models import User
|
||||
import pandas as pd
|
||||
|
||||
class CountVisitor(models.Model):
|
||||
page = models.CharField(db_index=True, max_length=255, db_comment = 'Имя посещенной страницы')
|
||||
page = models.CharField(db_index=True, max_length=255)
|
||||
visitdate = models.DateField()
|
||||
user = models.ForeignKey(User, null=True, blank=True, on_delete=models.PROTECT, db_comment = 'Пользователь посетевший страницу')
|
||||
count = models.IntegerField(default=0, db_comment = 'Количество посещений')
|
||||
fullPath = models.CharField(max_length=255, db_comment = 'Полный путь страницы')
|
||||
ico = models.CharField(verbose_name='Иконка', max_length=150, null=True, blank=True, db_comment = 'Иконка для отображения количества посещений на Портале')
|
||||
user = models.ForeignKey(User, null=True, blank=True, on_delete=models.PROTECT)
|
||||
count = models.IntegerField(default=0)
|
||||
fullPath = models.CharField(max_length=255)
|
||||
ico = models.CharField(verbose_name='Иконка', max_length=150, null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.page)
|
||||
|
||||
Reference in new issue
Block a user