diff --git a/django_lostplaces/lostplaces/__init__.py b/django_lostplaces/lostplaces/__init__.py index 4d5db56..c2d76d6 100644 --- a/django_lostplaces/lostplaces/__init__.py +++ b/django_lostplaces/lostplaces/__init__.py @@ -1,5 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- + from django.conf import settings settings.THUMBNAIL_ALIASES = { diff --git a/django_lostplaces/lostplaces/apps.py b/django_lostplaces/lostplaces/apps.py index 7b6de1a..bd8e0fc 100644 --- a/django_lostplaces/lostplaces/apps.py +++ b/django_lostplaces/lostplaces/apps.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from django.apps import AppConfig class LostplacesAppConfig(AppConfig): diff --git a/django_lostplaces/lostplaces/tests/__init__.py b/django_lostplaces/lostplaces/tests/__init__.py index aed04b2..0308c07 100644 --- a/django_lostplaces/lostplaces/tests/__init__.py +++ b/django_lostplaces/lostplaces/tests/__init__.py @@ -1,2 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from django.test import TestCase from django.contrib.auth.models import User \ No newline at end of file diff --git a/django_lostplaces/lostplaces/tests/models/__init__.py b/django_lostplaces/lostplaces/tests/models/__init__.py index fdd3737..1e5f7f6 100644 --- a/django_lostplaces/lostplaces/tests/models/__init__.py +++ b/django_lostplaces/lostplaces/tests/models/__init__.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from django.db import models from django.contrib.auth.models import User from django.core.exceptions import FieldDoesNotExist diff --git a/django_lostplaces/lostplaces/tests/models/test_abstract_models.py b/django_lostplaces/lostplaces/tests/models/test_abstract_models.py index b33fe84..75e3061 100644 --- a/django_lostplaces/lostplaces/tests/models/test_abstract_models.py +++ b/django_lostplaces/lostplaces/tests/models/test_abstract_models.py @@ -1,4 +1,5 @@ -import datetime +#!/usr/bin/env python +# -*- coding: utf-8 -*- from django.test import TestCase from django.db import models diff --git a/django_lostplaces/lostplaces/tests/models/test_explorer_model.py b/django_lostplaces/lostplaces/tests/models/test_explorer_model.py index 14cf38c..0e1ae4b 100644 --- a/django_lostplaces/lostplaces/tests/models/test_explorer_model.py +++ b/django_lostplaces/lostplaces/tests/models/test_explorer_model.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from django.test import TestCase from django.db import models from django.contrib.auth.models import User diff --git a/django_lostplaces/lostplaces/tests/models/test_place_image_model.py b/django_lostplaces/lostplaces/tests/models/test_place_image_model.py index 35f2277..0bbfa84 100644 --- a/django_lostplaces/lostplaces/tests/models/test_place_image_model.py +++ b/django_lostplaces/lostplaces/tests/models/test_place_image_model.py @@ -1,4 +1,6 @@ -import datetime +#!/usr/bin/env python +# -*- coding: utf-8 -*- + import os import shutil from unittest import mock diff --git a/django_lostplaces/lostplaces/tests/models/test_place_model.py b/django_lostplaces/lostplaces/tests/models/test_place_model.py index 374fc68..67243bf 100644 --- a/django_lostplaces/lostplaces/tests/models/test_place_model.py +++ b/django_lostplaces/lostplaces/tests/models/test_place_model.py @@ -1,4 +1,5 @@ -import datetime +#!/usr/bin/env python +# -*- coding: utf-8 -*- from django.test import TestCase from django.db import models diff --git a/django_lostplaces/lostplaces/tests/models/test_voucher_model.py b/django_lostplaces/lostplaces/tests/models/test_voucher_model.py index 56133a9..46837f8 100644 --- a/django_lostplaces/lostplaces/tests/models/test_voucher_model.py +++ b/django_lostplaces/lostplaces/tests/models/test_voucher_model.py @@ -1,5 +1,7 @@ -import datetime +#!/usr/bin/env python +# -*- coding: utf-8 -*- +import datetime from django.test import TestCase from django.db import models from django.utils import timezone diff --git a/django_lostplaces/lostplaces/tests/views/__init__.py b/django_lostplaces/lostplaces/tests/views/__init__.py index 77a876f..d111f87 100644 --- a/django_lostplaces/lostplaces/tests/views/__init__.py +++ b/django_lostplaces/lostplaces/tests/views/__init__.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from django.test import TestCase from lostplaces.models import Taggable, Mapable diff --git a/django_lostplaces/lostplaces/tests/views/test_base_views.py b/django_lostplaces/lostplaces/tests/views/test_base_views.py index 25ee0db..a483579 100644 --- a/django_lostplaces/lostplaces/tests/views/test_base_views.py +++ b/django_lostplaces/lostplaces/tests/views/test_base_views.py @@ -1,4 +1,5 @@ -import datetime +#!/usr/bin/env python +# -*- coding: utf-8 -*- from django.test import TestCase, RequestFactory, Client from django.urls import reverse_lazy diff --git a/django_lostplaces/lostplaces/tests/views/test_place_views.py b/django_lostplaces/lostplaces/tests/views/test_place_views.py index 132c535..eb5c363 100644 --- a/django_lostplaces/lostplaces/tests/views/test_place_views.py +++ b/django_lostplaces/lostplaces/tests/views/test_place_views.py @@ -1,4 +1,5 @@ -import datetime +#!/usr/bin/env python +# -*- coding: utf-8 -*- from django.test import TestCase, Client from django.urls import reverse diff --git a/django_lostplaces/lostplaces/urls.py b/django_lostplaces/lostplaces/urls.py index 3a9cd63..da2c61a 100644 --- a/django_lostplaces/lostplaces/urls.py +++ b/django_lostplaces/lostplaces/urls.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from django.urls import path from lostplaces.views import ( HomeView, diff --git a/django_lostplaces/lostplaces/views/__init__.py b/django_lostplaces/lostplaces/views/__init__.py index cdb2352..f4743f1 100644 --- a/django_lostplaces/lostplaces/views/__init__.py +++ b/django_lostplaces/lostplaces/views/__init__.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from lostplaces.views.base_views import * from lostplaces.views.views import * from lostplaces.views.place_views import * \ No newline at end of file diff --git a/django_lostplaces/lostplaces/views/base_views.py b/django_lostplaces/lostplaces/views/base_views.py index 6717ede..197958e 100644 --- a/django_lostplaces/lostplaces/views/base_views.py +++ b/django_lostplaces/lostplaces/views/base_views.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from django.views import View from django.views.generic.edit import CreateView from django.views.generic.detail import SingleObjectMixin diff --git a/django_lostplaces/lostplaces/views/place_views.py b/django_lostplaces/lostplaces/views/place_views.py index 18eff0d..d3d99c3 100644 --- a/django_lostplaces/lostplaces/views/place_views.py +++ b/django_lostplaces/lostplaces/views/place_views.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from django.views import View from django.views.generic.edit import CreateView, UpdateView, DeleteView from django.views.generic.detail import SingleObjectMixin diff --git a/django_lostplaces/lostplaces/views/views.py b/django_lostplaces/lostplaces/views/views.py index 7fbb9d9..614cd59 100644 --- a/django_lostplaces/lostplaces/views/views.py +++ b/django_lostplaces/lostplaces/views/views.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from django.views import View from django.views.generic.edit import CreateView diff --git a/setup.py b/setup.py index 5868a4b..ede7639 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + from setuptools import setup, find_packages with open('Readme.md') as f: