Exemple #1
0
from django.urls import path

from projectapp.views import ProjectListView, ProjectCreateView, ProjectDetailView
from subscribeapp.views import SubscriptionView, SubscriptionListView

app_name = 'subscribeapp'

urlpatterns = [
    path('subscribe/', SubscriptionView.as_view(), name="subscribe"),
    path('list/', SubscriptionListView.as_view(), name="list"),
]
Exemple #2
0
from django.urls import path

from subscribeapp.views import SubscriptionView, SubscriptionListView, SubscriptionFollowView

app_name='subscribeapp'

urlpatterns=[
    path('subscribe/',SubscriptionView.as_view(),name='subscribe'),
    path('list/',SubscriptionListView.as_view(),name='list'),
    path('follow/',SubscriptionFollowView.as_view(),name='follow'),
]
Exemple #3
0
from django.urls import path

from subscribeapp.views import SubscriptionView, SubscriptionListView

app_name = "subscribeapp"
urlpatterns = [
    path("subscribe/", SubscriptionView.as_view(), name="subscribe"),
    path("list/", SubscriptionListView.as_view(), name="list"),
]