From e9b9abef207c165393548fc210a9dfbeb1bc7fd4 Mon Sep 17 00:00:00 2001 From: James Turk Date: Tue, 7 Apr 2015 15:04:40 -0400 Subject: [PATCH] s/profile/profiles/ --- profile/__init__.py | 1 - profiles/__init__.py | 1 + {profile => profiles}/apps.py | 4 ++-- {profile => profiles}/migrations/0001_initial.py | 0 {profile => profiles}/migrations/__init__.py | 0 {profile => profiles}/models.py | 0 {profile => profiles}/tests.py | 0 web/settings.py | 2 +- 8 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 profile/__init__.py create mode 100644 profiles/__init__.py rename {profile => profiles}/apps.py (89%) rename {profile => profiles}/migrations/0001_initial.py (100%) rename {profile => profiles}/migrations/__init__.py (100%) rename {profile => profiles}/models.py (100%) rename {profile => profiles}/tests.py (100%) 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', )