from django.conf.urls import url
from django.views.generic import TemplateView
from django.contrib.auth.decorators import login_required

from . import views

urlpatterns = [
    url(r'^learningcircles/$', views.LearningCircleListView.as_view(), name='api_learningcircles'),
]


from django.conf.urls import url
from django.views.generic import TemplateView
from django.contrib.auth.decorators import login_required

from . import views

urlpatterns = [
    url(r'^learningcircles/$', views.LearningCircleListView.as_view(), name='api_learningcircles'),
    url(r'^signup/$', views.SignupView.as_view(), name='api_learningcircles_signup')
]


Add URL for signup api endpoint
Add URL for signup api endpoint

  from django.conf.urls import url
  from django.views.generic import TemplateView
  from django.contrib.auth.decorators import login_required
  
  from . import views
  
  urlpatterns = [
      url(r'^learningcircles/$', views.LearningCircleListView.as_view(), name='api_learningcircles'),
+     url(r'^signup/$', views.SignupView.as_view(), name='api_learningcircles_signup')
  ]
  
  
Add URL for signup api endpoint
## Code Before:
from django.conf.urls import url
from django.views.generic import TemplateView
from django.contrib.auth.decorators import login_required

from . import views

urlpatterns = [
    url(r'^learningcircles/$', views.LearningCircleListView.as_view(), name='api_learningcircles'),
]


## Instruction:
Add URL for signup api endpoint
## Code After:
from django.conf.urls import url
from django.views.generic import TemplateView
from django.contrib.auth.decorators import login_required

from . import views

urlpatterns = [
    url(r'^learningcircles/$', views.LearningCircleListView.as_view(), name='api_learningcircles'),
    url(r'^signup/$', views.SignupView.as_view(), name='api_learningcircles_signup')
]

