16 lines
518 B
Python
16 lines
518 B
Python
from django.contrib import admin
|
|
from django.urls import path
|
|
from . import views
|
|
import lettings.views
|
|
import profiles.views
|
|
|
|
|
|
urlpatterns = [
|
|
path('', views.index, name='index'),
|
|
path('lettings/', lettings.views.index, name='lettings_index'),
|
|
path('lettings/<int:letting_id>/', lettings.views.letting, name='letting'),
|
|
path('profiles/', profiles.views.index, name='profiles_index'),
|
|
path('profiles/<str:username>/', profiles.views.profile, name='profile'),
|
|
path('admin/', admin.site.urls),
|
|
]
|