Skip to content

Commit

Permalink
Merge pull request #6 from joisemp/feature
Browse files Browse the repository at this point in the history
renamed accounts app to core
  • Loading branch information
joisemp authored Apr 1, 2024
2 parents 3372173 + 19fc8e0 commit d08c105
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 44 deletions.
18 changes: 0 additions & 18 deletions accounts/migrations/0002_alter_user_is_admin.py

This file was deleted.

18 changes: 0 additions & 18 deletions accounts/migrations/0003_alter_user_is_admin.py

This file was deleted.

File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions accounts/apps.py → core/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django.apps import AppConfig


class AccountsConfig(AppConfig):
class CoreConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'accounts'
name = 'core'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by Django 4.2 on 2024-04-01 06:31
# Generated by Django 4.2 on 2024-04-01 15:30

import accounts.user_manager
import core.user_manager
from django.db import migrations, models
import django.utils.timezone

Expand Down Expand Up @@ -37,7 +37,7 @@ class Migration(migrations.Migration):
'abstract': False,
},
managers=[
('objects', accounts.user_manager.UserManager()),
('objects', core.user_manager.UserManager()),
],
),
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions main/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

BASE_DIR = Path(__file__).resolve().parent.parent.parent

AUTH_USER_MODEL = 'accounts.User'
AUTH_USER_MODEL = 'core.User'

# Application definition

Expand All @@ -15,7 +15,7 @@
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'accounts.apps.AccountsConfig'
'core.apps.CoreConfig'
]

MIDDLEWARE = [
Expand Down
2 changes: 1 addition & 1 deletion main/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from django.urls import path, include
from django.conf import settings
from django.conf.urls.static import static
from accounts.views import LandingPageView
from core.views import LandingPageView

urlpatterns = [
path('admin/', admin.site.urls),
Expand Down

0 comments on commit d08c105

Please sign in to comment.