Skip to content
Snippets Groups Projects
urls.py 278 B
Newer Older
  • Learn to ignore specific revisions
  • George Hickman's avatar
    George Hickman committed
    from django.urls import include, path
    
    George Hickman's avatar
    George Hickman committed
    from .views import ProjectDetailView, ProjectEditView
    
    
    urlpatterns = [
    
    George Hickman's avatar
    George Hickman committed
        path('<int:pk>/', include([
            path('', ProjectDetailView.as_view(), name='detail'),
            path('edit/', ProjectEditView.as_view(), name="edit"),
        ])),