from django.urls import path
from . import views

urlpatterns = [
    path('', views.index),
    path('profile/<int:id>', views.profile),
    path('profile/edit/<int:id>', views.profile_edit),
    path('profile/edit_pic/<int:id>', views.profile_pic),
    path('register', views.register),
    path('register_page', views.register_page),
    path('login', views.login),
    path('wall', views.success),
    path('logout', views.logout),
    path('create_post', views.create_post),
    path('create_comment/<int:id>', views.create_comment),
    path('like/<int:id>', views.like_post),
    path('like_com/<int:id>', views.like_com),
    path('delete/<int:id>', views.delete_post),
    path('delete_com/<int:id>', views.delete_com),
    path('edit_post/<int:id>', views.edit_post),
]
