mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-30 13:34:02 +03:00
Merge pull request #3043 from areski/fix_django_31
This commit is contained in:
commit
dfb70be5d6
|
@ -40,7 +40,7 @@ production-ready Django projects quickly.
|
||||||
Features
|
Features
|
||||||
---------
|
---------
|
||||||
|
|
||||||
* For Django 3.0
|
* For Django 3.1
|
||||||
* Works with Python 3.8
|
* Works with Python 3.8
|
||||||
* Renders Django projects with 100% starting test coverage
|
* Renders Django projects with 100% starting test coverage
|
||||||
* Twitter Bootstrap_ v4 (`maintained Foundation fork`_ also available)
|
* Twitter Bootstrap_ v4 (`maintained Foundation fork`_ also available)
|
||||||
|
|
|
@ -30,4 +30,4 @@ docker-compose -f local.yml run django pytest
|
||||||
docker-compose -f local.yml run django python manage.py makemigrations --dry-run --check || { echo "ERROR: there were changes in the models, but migration listed above have not been created and are not saved in version control"; exit 1; }
|
docker-compose -f local.yml run django python manage.py makemigrations --dry-run --check || { echo "ERROR: there were changes in the models, but migration listed above have not been created and are not saved in version control"; exit 1; }
|
||||||
|
|
||||||
# Test support for translations
|
# Test support for translations
|
||||||
docker-compose -f local.yml run django python manage.py makemessages
|
docker-compose -f local.yml run django python manage.py makemessages --all
|
||||||
|
|
|
@ -29,7 +29,7 @@ uvicorn[standard]==0.13.4 # https://github.com/encode/uvicorn
|
||||||
|
|
||||||
# Django
|
# Django
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
django==3.0.13 # pyup: < 3.1 # https://www.djangoproject.com/
|
django==3.1.7 # pyup: < 3.2 # https://www.djangoproject.com/
|
||||||
django-environ==0.4.5 # https://github.com/joke2k/django-environ
|
django-environ==0.4.5 # https://github.com/joke2k/django-environ
|
||||||
django-model-utils==4.1.1 # https://github.com/jazzband/django-model-utils
|
django-model-utils==4.1.1 # https://github.com/jazzband/django-model-utils
|
||||||
django-allauth==0.44.0 # https://github.com/pennersr/django-allauth
|
django-allauth==0.44.0 # https://github.com/pennersr/django-allauth
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Generated by Django 3.1.7 on 2021-02-04 14:49
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('sites', '0003_set_site_domain_and_name'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='site',
|
||||||
|
options={'ordering': ['domain'], 'verbose_name': 'site', 'verbose_name_plural': 'sites'},
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user