mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 13:19:16 -05:00
lots of things working
This commit is contained in:
@@ -13,11 +13,12 @@ Including another URLconf
|
||||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.http import HttpResponseRedirect
|
||||
from django.urls import include, path
|
||||
from django.contrib import admin
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path('', lambda r: HttpResponseRedirect('cookbook/')),
|
||||
path('admin/', admin.site.urls),
|
||||
path('cookbook/', include('cookbook.urls')),
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
|
||||
Reference in New Issue
Block a user