From 7b33789771b348aaf699b315b6d9828270516e56 Mon Sep 17 00:00:00 2001 From: saqibur Date: Mon, 15 Aug 2022 09:44:10 +0600 Subject: [PATCH] Fix incorrectly configured core URL and app label --- README.md | 3 ++- apps/core/urls.py | 3 +++ config/urls.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index df1bdef..53ab6cb 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ the next big thing our team develops. 1. Delete the `.git` folder 1. Remove/add anything as you see fit 1. Initialize as a new git repository for your own project -1. DONE. +1. Run the project using `python manage.py runserver` and you should see the default +success page provided by Django at [http://127.0.0.1:8000/](http://127.0.0.1:8000/). ### Creating an App diff --git a/apps/core/urls.py b/apps/core/urls.py index e69de29..a87018c 100644 --- a/apps/core/urls.py +++ b/apps/core/urls.py @@ -0,0 +1,3 @@ +app_name = "core" + +urlpatterns = [] diff --git a/config/urls.py b/config/urls.py index e8990bf..05c1a05 100644 --- a/config/urls.py +++ b/config/urls.py @@ -4,5 +4,5 @@ from django.urls import ( ) urlpatterns = [ - path("", include("apps.core.urls", "core")), + path("", include("apps.core.urls")), ]