Skip to content

Commit db077c4

Browse files
committedNov 14, 2022
refactor: seprate home from other views
1 parent 71b45ce commit db077c4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+141
-44
lines changed
 

‎config/settings.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
'django.contrib.messages',
4141
'django.contrib.staticfiles',
4242
'home.apps.HomeConfig',
43-
'common.apps.CommonConfig'
43+
'common.apps.CommonConfig',
44+
'relocateme.apps.RelocatemeConfig',
4445
]
4546

4647
MIDDLEWARE = [
@@ -121,6 +122,10 @@
121122

122123
STATIC_ROOT = BASE_DIR / "staticfiles"
123124
STATIC_URL = 'static/'
125+
STATICFILES_DIRS = [
126+
BASE_DIR / "static",
127+
]
128+
124129

125130
# Default primary key field type
126131
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field

‎config/urls.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818

1919
urlpatterns = [
2020
path('admin/', admin.site.urls),
21-
path('', include('home.urls', namespace='home'))
21+
path('', include('home.urls', namespace='home')),
22+
path('relocateme/', include('relocateme.urls', namespace='relocateme'))
2223
]

0 commit comments

Comments
 (0)