from smarturls import surl as url from . import views urlpatterns = ( url(regex=r'/create/', view=views.CreateOrganization.as_view(), name='create_organization'), url(regex=r'/<slug:slug>/update/', view=views.UpdateOrganization.as_view(), name='update_organization'), )
from django.conf.urls import patterns from django.contrib.auth.decorators import login_required from smarturls import surl as url import views urlpatterns = patterns( '', url(regex=r'/events/', view=views.ListEvents.as_view(), name='list_events'), url(regex=r'/events/create/', view=login_required(views.CreateEvent.as_view()), name='create_event'), url(regex=r'/events/<slug:slug>/', view=views.DetailEvent.as_view(), name='view_event'), url(regex=r'/events/<slug:slug>/update/', view=login_required(views.UpdateEvent.as_view()), name='update_event'), url(regex=r'/events/<slug:slug>/proposals/create/', view=login_required(views.CreateProposal.as_view()), name='create_event_proposal'), url(regex=r'/events/<slug:event_slug>/' r'proposals/<slug:slug>/update/', view=login_required(views.UpdateProposal.as_view()), name='update_proposal'), url(regex=r'/events/<slug:event_slug>/' r'proposals/<slug:slug>/rate/<slug:rate>/', view=login_required(views.RateProposal.as_view()),
from smarturls import surl as url from . import views urlpatterns = ( url(regex=r'/my_proposals/', view=views.ListMyProposals.as_view(), name='my_proposals'), url(regex=r'/my_events/', view=views.ListMyEvents.as_view(), name='my_events'), url(regex=r'/events/', view=views.ListEvents.as_view(template_name='event/event_list.html'), name='list_events'), url(regex=r'/past_events/', view=views.ListEvents.as_view( template_name='event/past_event_list.html', past_events=True), name='past_events'), url(regex=r'/events/create/', view=views.CreateEvent.as_view(), name='create_event'), url(regex=r'/events/<slug:slug>/', view=views.DetailEvent.as_view(), name='view_event'), url(regex=r'/events/<slug:slug>/update/', view=views.UpdateEvent.as_view(), name='update_event'), url(regex=r'/events/<slug:slug>/delete/', view=views.DeleteEvent.as_view(),
from django.conf.urls import patterns from smarturls import surl as url import views urlpatterns = patterns( '', url(regex=r'/my_proposals/', view=views.ListMyProposals.as_view(), name='my_proposals'), url(regex=r'/events/', view=views.ListEvents.as_view(), name='list_events'), url(regex=r'/events/create/', view=views.CreateEvent.as_view(), name='create_event'), url(regex=r'/events/<slug:slug>/', view=views.DetailEvent.as_view(), name='view_event'), url(regex=r'/events/<slug:slug>/update/', view=views.UpdateEvent.as_view(), name='update_event'), url(regex=r'/events/<slug:slug>/export/', view=views.ExportEvent.as_view(), name='export_event'), url(regex=r'/events/<slug:slug>/create_schedule/', view=views.CreateEventSchedule.as_view(), name='create_event_schedule'), url(regex=r'/events/<slug:slug>/proposals/create/', view=views.CreateProposal.as_view(), name='create_event_proposal'),
from django.conf.urls import patterns from smarturls import surl as url import views urlpatterns = patterns( '', url(regex=r'/my_proposals/', view=views.ListMyProposals.as_view(), name='my_proposals'), url(regex=r'/events/', view=views.ListEvents.as_view(), name='list_events'), url(regex=r'/events/create/', view=views.CreateEvent.as_view(), name='create_event'), url(regex=r'/events/<slug:slug>/', view=views.DetailEvent.as_view(), name='view_event'), url(regex=r'/events/<slug:slug>/update/', view=views.UpdateEvent.as_view(), name='update_event'), url(regex=r'/events/<slug:slug>/export/', view=views.ExportEvent.as_view(), name='export_event'), url(regex=r'/events/<slug:slug>/proposals/create/', view=views.CreateProposal.as_view(), name='create_event_proposal'), url(regex=r'/events/<slug:event_slug>/' r'proposals/<slug:slug>/update/',
from smarturls import surl as url from api import views urlpatterns = [ url(r'/events/<slug:slug>/', views.RetrieveEventView.as_view(), name='api_view_event_grade'), url(r'/events/<slug:slug>/activities/', views.CreateActivityView.as_view(), name='api_event_create_activity'), url(r'/events/<slug:event_slug>/activities/<slug:slug>/', views.ActivityView.as_view(), name='api_event_activity'), ]
from smarturls import surl as url from . import views urlpatterns = ( url( r'/events/<slug:slug>/schedule/', views.RetrieveEventScheduleView.as_view(), name='api_view_event_schedule' ), url( r'/events/<slug:slug>/activities/', views.CreateActivityView.as_view(), name='api_event_create_activity' ), url( r'/events/<slug:event_slug>/activities/<slug:slug>/', views.ActivityView.as_view(), name='api_event_activity' ), )
from smarturls import surl as url from . import views urlpatterns = ( url(regex=r'/create/', view=views.CreateOrganization.as_view(), name='create_organization'), url(regex=r'/<slug:slug>/update/', view=views.UpdateOrganization.as_view(), name='update_organization'), url(regex=r'/<slug:slug>/delete/', view=views.DeleteOrganization.as_view(), name='delete_organization'), )
try: from django.views.i18n import JavaScriptCatalog javascript_catalog = JavaScriptCatalog.as_view() except: from django.views.i18n import javascript_catalog from smarturls import surl as url from . import views urlpatterns = ( url(r'^$', views.IndexView.as_view(), name='index_page'), url(regex=r'/profile/', view=views.ProfileView.as_view(), name='profile'), url(regex=r'/about/', view=views.AboutView.as_view(), name='about'), url(regex=r'/profile/<username:user__username>/', view=views.ProfileView.as_view(), name='user_profile'), url(regex=r'/profile/<username:user__username>/update/', view=views.ProfileUpdateView.as_view(), name='update_profile'), url(regex=r'/profile/<username:user__username>/update/picture/', view=views.ProfileUpdatePictureView.as_view(), name='update_profile_picture'), url(r'^jsi18n/$', javascript_catalog, name='javascript_catalog'), url(regex=r'/profile/<username:user__username>/change/language/',
from django.conf.urls import patterns from smarturls import surl as url import views urlpatterns = patterns( '', url(regex=r'/events/<slug:slug>/jury/', view=views.JuryView.as_view(), name='jury_event'), url(regex=r'/events/<slug:slug>/invite/jury/', view=views.InviteEvent.as_view(), name='event_invite_to_jury'), url(regex=r'/events/<slug:slug>/remove/jury/<int:user_pk>/', view=views.remove_user_from_event_jury, name='event_remove_from_jury'), )
from smarturls import surl as url from views import index urlpatterns = [ url(regex='/', view=index, name='portal_index') ]