commit message
This commit is contained in:
13
oc_lettings_site/urls.py
Normal file
13
oc_lettings_site/urls.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name='index'),
|
||||
path('lettings/', views.lettings_index, name='lettings_index'),
|
||||
path('lettings/<int:letting_id>/', views.letting, name='letting'),
|
||||
path('profiles/', views.profiles_index, name='profiles_index'),
|
||||
path('profiles/<str:username>/', views.profile, name='profile'),
|
||||
path('admin/', admin.site.urls),
|
||||
]
|
||||
Reference in New Issue
Block a user