diff --git a/profile/__init__.py b/profile/__init__.py deleted file mode 100644 index 09cda9b..0000000 --- a/profile/__init__.py +++ /dev/null @@ -1 +0,0 @@ -default_app_config = 'profile.apps.ProfileConfig' diff --git a/profiles/__init__.py b/profiles/__init__.py new file mode 100644 index 0000000..7e21d18 --- /dev/null +++ b/profiles/__init__.py @@ -0,0 +1 @@ +default_app_config = 'profiles.apps.ProfileConfig' diff --git a/profile/apps.py b/profiles/apps.py similarity index 89% rename from profile/apps.py rename to profiles/apps.py index b434e52..6ed3e1f 100644 --- a/profile/apps.py +++ b/profiles/apps.py @@ -11,8 +11,8 @@ def create_profile(sender, created, instance, **kwargs): class ProfileConfig(AppConfig): - name = 'profile' - app_label = 'profile' + name = 'profiles' + app_label = 'profiles' def ready(self): post_save.connect(create_profile, sender=User) diff --git a/profile/migrations/0001_initial.py b/profiles/migrations/0001_initial.py similarity index 100% rename from profile/migrations/0001_initial.py rename to profiles/migrations/0001_initial.py diff --git a/profile/migrations/__init__.py b/profiles/migrations/__init__.py similarity index 100% rename from profile/migrations/__init__.py rename to profiles/migrations/__init__.py diff --git a/profile/models.py b/profiles/models.py similarity index 100% rename from profile/models.py rename to profiles/models.py diff --git a/profile/tests.py b/profiles/tests.py similarity index 100% rename from profile/tests.py rename to profiles/tests.py diff --git a/web/settings.py b/web/settings.py index c5d5908..76dd16e 100644 --- a/web/settings.py +++ b/web/settings.py @@ -21,7 +21,7 @@ INSTALLED_APPS = ( 'django.contrib.messages', 'django.contrib.staticfiles', 'django_gravatar', - 'profile', + 'profiles', 'lifting', )