mirror of
https://github.com/Sosokker/ku-polls.git
synced 2025-12-19 05:24:05 +01:00
1. Refine UI/UX Apply Tailwinds Rewrite all page 2. Add new feature to model Add new field - description - long - short - use default + editable instead of auto_add_now - track up vote - Change timezone - Add time left track -Add participant -Add up/down vote attribute -- Choice - Add total_vote -Add calculate_percentage of vote 3. Refine View -Redirect instead of home page -Add context to result, detail view -Apply ChartJS -Delete home
20 lines
512 B
Python
20 lines
512 B
Python
# Generated by Django 4.2.4 on 2023-09-09 08:15
|
|
|
|
from django.db import migrations, models
|
|
import django.utils.timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('polls', '0003_alter_choice_votes_alter_question_pub_date'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='question',
|
|
name='pub_date',
|
|
field=models.DateTimeField(default=django.utils.timezone.now, editable=False, verbose_name='date published'),
|
|
),
|
|
]
|