diff --git a/manage.py b/manage.py deleted file mode 100755 index 27e7870..0000000 --- a/manage.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python -"""Django's command-line utility for administrative tasks.""" -import os -import sys - - -def main(): - """Run administrative tasks.""" - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_violation_proj.settings") - try: - from django.core.management import execute_from_command_line - except ImportError as exc: - raise ImportError( - "Couldn't import Django. Are you sure it's installed and " - "available on your PYTHONPATH environment variable? Did you " - "forget to activate a virtual environment?" - ) from exc - execute_from_command_line(sys.argv) - - -if __name__ == "__main__": - main() diff --git a/violation/__init__.py b/violation/__init__.py index 3578c9e..7a6f96c 100644 --- a/violation/__init__.py +++ b/violation/__init__.py @@ -1,2 +1,2 @@ -VERSION = (1, 2, 0) +VERSION = (1, 2, 1) __version__ = ".".join(str(i) for i in VERSION) \ No newline at end of file diff --git a/violation/apps.py b/violation/apps.py index e43d073..5b988bd 100644 --- a/violation/apps.py +++ b/violation/apps.py @@ -3,6 +3,7 @@ class ViolationConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' name = 'violation' verbose_name = _('Violation')