First Commit
This commit is contained in:
commit
ce0758fbbb
496 changed files with 52062 additions and 0 deletions
12
posts/urls.py
Executable file
12
posts/urls.py
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
from django.urls import path
|
||||
from django.conf.urls.static import static
|
||||
|
||||
from passion_retro import settings
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path("<slug:slug>/", views.view_post, name="view_post"),
|
||||
|
||||
path("create/<str:type>/", views.create_post, name="create_news"),
|
||||
path("<int:post_id>/edit", views.edit_post, name="edit_post"),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue