15 lines
475 B
Python
15 lines
475 B
Python
from django.conf.urls import url
|
|
from django.urls import path, re_path
|
|
from . import views
|
|
from django.conf import settings
|
|
from django.conf.urls.static import static
|
|
|
|
|
|
urlpatterns = [
|
|
re_path('add-offer/', views.CreateOffer.as_view(), name='create_offer'),
|
|
path('offer/<int:pk>', views.OfferDetailView.as_view(), name = 'offer_detail'),
|
|
path('offers/', views.OfferListView.as_view(), name = 'list_offers'),
|
|
path('', views.Home.as_view(), name='homepage')
|
|
|
|
|
|
] |