admin.autodiscover() handler404 = 'website.views.error_404_view' handler500 = 'website.views.error_500_view' urlpatterns = patterns('', ('^accounts/', include('allauth.urls')), ('^activity/', include('actstream.urls')), url(r'^$', 'website.views.home', name='home'), url(r'^post/$', 'website.views.create_issue_and_bounty', name='post'), url(r'^list/$', 'website.views.list', name='list'), url(r'^issue/$', 'website.views.issue', name='issue'), url(r'^profile/$', 'website.views.profile', name='profile'), url(r"^profile/(?P<slug>\w+)/$", UserProfileDetailView.as_view(), name="profile"), url(r'^parse_url_ajax/$', 'website.views.parse_url_ajax', name='parse_url_ajax'), url(r'^add/$', 'website.views.add', name='add'), url(r'^watch/$', 'website.views.watch', name='watch'), url(r'^login/$', 'website.views.login_async', name='login'), url(r'^join/$', 'website.views.join', name='join'), url(r'^logout/$', 'website.views.logout_view', name='logout'), url(r'^load_issue/$', 'website.views.load_issue', name='load_issue'), #url(r'^issue/(?P<id>\d)/$', 'website.views.issue', name='issue'), url(r'^wepay_auth/$', 'website.views.wepay_auth', name='wepay_auth'), url(r'^wepay_callback$', 'website.views.wepay_callback', name='wepay_callback'), url(r'^post_comment$', 'website.views.post_comment', name='post_comment'), url(r'^verify/(?P<service_slug>[a-zA-Z0-9_.-]+)/$', 'website.views.verify', name='verify'),
urlpatterns = ( url(r"^$", website.views.home, name="home"), url(r"^about/$", TemplateView.as_view(template_name="about.html"), name="about"), url(r"^accounts/", include("allauth.urls")), url(r"^admin/", include(admin.site.urls)), url(r"^edit_profile/$", login_required(UserProfileEditView.as_view()), name="edit_profile"), url(r"^help/$", TemplateView.as_view(template_name="help.html"), name="help"), url(r"^issue/(?P<slug>\w+)/$", IssueDetailView.as_view(), name="issue"), url(r"^leaderboard/$", LeaderboardView.as_view(), name="leaderboard"), url(r"^list/$", website.views.list, name="list"), url(r"^get_bounty_image/(?P<id>\w+)/$", website.views.get_bounty_image, name="get_bounty_image"), url(r"^parse_url_ajax/$", website.views.parse_url_ajax, name="parse_url_ajax"), url(r"^post/$", website.views.create_issue_and_bounty, name="post"), url(r"^post_all/$", login_required(PostAll.as_view()), name="post_all"), url(r"^profile/$", website.views.profile, name="profile"), url(r"^profile/(?P<slug>[^/]+)/$", UserProfileDetailView.as_view(), name="profile"), url(r"^robots.txt$", TemplateView.as_view(template_name="robots.txt")), url(r"^terms/$", TemplateView.as_view(template_name="terms.html"), name="terms"), url(r"^pay/(?P<pk>\d+)/$", login_required(PayView.as_view()), name="pay"), url(r"^favicon\.ico$", favicon_view), ) class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ("username", "date_joined", "last_login") class UserViewSet(viewsets.ModelViewSet): queryset = User.objects.all()
urlpatterns = patterns('', #url(r'^activity/', include('actstream.urls')), url(r'^$', 'website.views.home', name='home'), url(r'^about/$', 'website.views.about', name='about'), url(r'^accounts/', include('allauth.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^edit_profile/$', login_required(UserProfileEditView.as_view()), name="edit_profile"), url(r'^help/$', 'website.views.help', name='help'), url(r'^issue/(?P<slug>\w+)/$', IssueDetailView.as_view(), name="issue"), url(r'^leaderboard/$', LeaderboardView.as_view(), name="leaderboard"), url(r'^list/$', 'website.views.list', name='list'), url(r'^parse_url_ajax/$', 'website.views.parse_url_ajax', name='parse_url_ajax'), url(r'^post/$', 'website.views.create_issue_and_bounty', name='post'), url(r'^profile/$', 'website.views.profile', name='profile'), url(r'^profile/(?P<slug>[\w-]+)/$', UserProfileDetailView.as_view(), name="profile"), url(r'^robots.txt$', TemplateView.as_view(template_name='robots.txt')), url(r'^terms/$', 'website.views.terms', name='terms'), ) class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ('username','date_joined','last_login') class UserViewSet(viewsets.ModelViewSet): queryset = User.objects.all() serializer_class = UserSerializer class ServiceSerializer(serializers.HyperlinkedModelSerializer): class Meta:
url(r'^like_issue/(?P<issue_pk>\d+)/$', website.views.like_issue, name="like_issue"), url(r'^save_issue/(?P<issue_pk>\d+)/$', website.views.save_issue, name="save_issue"), url(r'^unsave_issue/(?P<issue_pk>\d+)/$', website.views.unsave_issue, name="unsave_issue"), url(r'^issue/edit/$', website.views.IssueEdit), url(r'^issue/update/$', website.views.UpdateIssue), url(r'^issue/(?P<slug>\w+)/$', IssueView.as_view(), name="issue_view"), url(r'^follow/(?P<user>[^/]+)/', website.views.follow_user,name="follow_user"), url(r'^all_activity/$', AllIssuesView.as_view(), name="all_activity"), url(r'^label_activity/$', SpecificIssuesView.as_view(), name="all_activity"), url(r'^leaderboard/$', LeaderboardView.as_view(), name="leaderboard"), url(r'^scoreboard/$', ScoreboardView.as_view(), name="scoreboard"), url(r'^issue/$', IssueCreate.as_view(), name="issue"), url(r'^upload/(?P<time>[^/]+)/(?P<hash>[^/]+)/', UploadCreate.as_view(), name="upload"), url(r'^profile/(?P<slug>[^/]+)/$', UserProfileDetailView.as_view(), name="profile"), url(r'^domain/(?P<slug>[^/]+)/$', DomainDetailView.as_view(), name="domain"), url(r'^email/(?P<slug>[^/]+)/$', EmailDetailView.as_view(), name="email"), url(r'^.well-known/acme-challenge/(?P<token>[^/]+)/$', website.views.find_key, name="find_key"), url(r'^accounts/profile/', website.views.profile), url(r'^delete_issue/(?P<id>\w+)/$', website.views.delete_issue), url(r'^accounts/', include('allauth.urls')), url(r'^start/$', TemplateView.as_view(template_name="hunt.html")), url(r'^hunt/$', login_required(HuntCreate.as_view()), name="hunt"), url(r'^invite/$', InviteCreate.as_view(template_name="invite.html")), url(r'^invite-friend/$', login_required(CreateInviteFriend.as_view()), name='invite_friend'), url(r'^terms/$', TemplateView.as_view(template_name="terms.html")), url(r'^about/$', TemplateView.as_view(template_name="about.html")),
from django.conf.urls import include, url from website.views import UserProfileDetailView from django.contrib import admin admin.autodiscover() import website.views # Examples: # url(r'^$', 'gettingstarted.views.home', name='home'), # url(r'^blog/', include('blog.urls')), urlpatterns = [ url(r'^$', website.views.index, name='index'), url(r'^accounts/', include('allauth.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^profile/$', website.views.profile, name='profile'), url(r'^profile/(?P<slug>[^/]+)/$', UserProfileDetailView.as_view(), name="profile"), ]
urlpatterns = patterns('', url(r'^$', 'website.views.home', name='home'), url(r'^about/$', TemplateView.as_view(template_name='about.html'), name='about'), url(r'^accounts/', include('allauth.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^edit_profile/$', login_required(UserProfileEditView.as_view()), name="edit_profile"), url(r'^help/$', TemplateView.as_view(template_name='help.html'), name='help'), url(r'^issue/(?P<slug>\w+)/$', IssueDetailView.as_view(), name="issue"), url(r'^leaderboard/$', LeaderboardView.as_view(), name="leaderboard"), url(r'^list/$', 'website.views.list', name='list'), url(r'^get_bounty_image/(?P<id>\w+)/$', 'website.views.get_bounty_image', name='get_bounty_image'), url(r'^parse_url_ajax/$', 'website.views.parse_url_ajax', name='parse_url_ajax'), url(r'^post/$', 'website.views.create_issue_and_bounty', name='post'), url(r'^profile/$', 'website.views.profile', name='profile'), url(r'^profile/(?P<slug>[^/]+)/$', UserProfileDetailView.as_view(), name="profile"), url(r'^robots.txt$', TemplateView.as_view(template_name='robots.txt')), url(r'^terms/$', TemplateView.as_view(template_name='terms.html'), name='terms'), ) class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ('username', 'date_joined', 'last_login') class UserViewSet(viewsets.ModelViewSet): queryset = User.objects.all() serializer_class = UserSerializer