This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/migrations/0004_article_views_count.py
Gabriel Augendre 7ab0f6ee24 Add a views count on article
Incremented by non logged in visitors
2020-08-14 22:06:38 +02:00

18 lines
388 B
Python

# Generated by Django 3.1 on 2020-08-14 20:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("articles", "0003_auto_20200814_1522"),
]
operations = [
migrations.AddField(
model_name="article",
name="views_count",
field=models.IntegerField(default=0),
),
]