Closed samg666 closed 2 years ago
Hello @ggs331,
To make it work, please update the following:
core/urls.py
to include demo1
above apps.home.urls
apps.home.urls
is defined using an empty rule that eats all requests. urlpatterns = [
path('admin/', admin.site.urls), # Django admin route
path("", include("apps.authentication.urls")), # Auth routes - login / register
path("demo1/", include("demo1.urls")), # <----- The NEW APP
path("", include("apps.home.urls")) # UI Kits Html files
]
demo1/urls.py
as bellow:...
urlpatterns = [
path('index', views.index, name='index'),
]
http://127.0.0.1:8000/demo1/index
Let us know if you succeed to bootstrap your local version
Thank you very much, it works now.
Hello,
I am pretty new to Django and trying to using django-dotta-able, and I have tried to create a simple helloworld app named
demo1
, but always got errors. I do this by below steps. I am not sure what is wrong on my steps.It would be really helpful if there's step-by-step guidance docs on how to create a simple custom apps/pages on django-dotta-able.
demo1
ondjango-datta-able
foler bypython manage.py startapp demo1
demo1
oncore.settings
urlpatterns = [
]