from django.urls import path
from . import views

app_name = 'dashboard'
urlpatterns = [
    path('', views.index, name='index'),
    path('<str:username>/timeline/', views.timeline_view, name='timeline'),
    path('create-post/', views.create_post_view, name='create_post'),
    path('post/<int:post_id>/', views.post_view, name='post'),
    path('post/<int:post_id>/delete/', views.delete_post_view, name='delete_post'),

]

6104bd3e3c953acc88a4f967d5a369f8efcfed9f
<mask token>

<mask token>
app_name = 'dashboard'
urlpatterns = [path('', views.index, name='index'), path(
    '<str:username>/timeline/', views.timeline_view, name='timeline'), path
    ('create-post/', views.create_post_view, name='create_post'), path(
    'post/<int:post_id>/', views.post_view, name='post'), path(
    'post/<int:post_id>/delete/', views.delete_post_view, name='delete_post')]

from django.urls import path
from . import views
app_name = 'dashboard'
urlpatterns = [path('', views.index, name='index'), path(
    '<str:username>/timeline/', views.timeline_view, name='timeline'), path
    ('create-post/', views.create_post_view, name='create_post'), path(
    'post/<int:post_id>/', views.post_view, name='post'), path(
    'post/<int:post_id>/delete/', views.delete_post_view, name='delete_post')]

from django.urls import path
from . import views

app_name = 'dashboard'
urlpatterns = [
    path('', views.index, name='index'),
    path('<str:username>/timeline/', views.timeline_view, name='timeline'),
    path('create-post/', views.create_post_view, name='create_post'),
    path('post/<int:post_id>/', views.post_view, name='post'),
    path('post/<int:post_id>/delete/', views.delete_post_view, name='delete_post'),

]
