from django.urls import path
from django.urls.resolvers import URLPattern
from . import views

urlpatterns = [
    path ('all-tweets/', views.AllTweets.as_view(), name='all-tweets'),
    path ('delete-tweet/<id>', views.deleteTweet, name='delete-tweet'),
    path ('edit-tweet/<id>', views.EditTweet.as_view(), name='edit-tweet'),
    path ('user-timeline/<id>', views.UserTimeline.as_view(), name='user-timeline')
]