(r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '%simages/favicon.ico' % settings.MEDIA_URL}), (r'^favicon\.gif$', 'django.views.generic.simple.redirect_to', {'url': '%simages/favicon.gif' % settings.MEDIA_URL}), url(r'^logout/$', 'forum.views.logout', name='logout'), url(r'^answers/(?P<id>\d+)/comments/$', 'forum.views.answer_comments', name='answer_comments'), url(r'^answers/(?P<id>\d+)/edit/$', 'forum.views.edit_answer', name='edit_answer'), url(r'^answers/(?P<id>\d+)/revisions/$', 'forum.views.answer_revisions', name='answer_revisions'), url(r'^answers/(?P<answer_id>\d+)/award_points/$', 'muaccount_forum.views.award_points', name='award_points'), url(r'^questions/$', wrapped_queryset(forum.views.questions, lambda request, queryset: queryset.filter(muaccount=request.muaccount)), {'queryset': Question.objects.all()}, name='questions'), url(r'^questions/unanswered/$', wrapped_queryset(forum.views.questions, lambda request, queryset: queryset.filter(muaccount=request.muaccount)), unanswered_info, name='unanswered'), url(r'^questions/bounty/$', wrapped_queryset(forum.views.questions, lambda request, queryset: queryset.filter(muaccount=request.muaccount)), {'template_name': 'questions-bounty.html', 'queryset': Question.objects.filter(closed=False, deleted=False, bounty_points__gt=0)}, name='bounty-questions'), url(r'^questions/ask/$', 'muaccount_forum.views.ask', { 'form_class': MuAskForm,
'template': 'index.html', }, name='notification_notices'), url(r'^suspended/$', public(direct_to_template), { 'template': 'suspended.html' }, name='muaccount_suspended'), url(r'^accounts/login/$', 'user_site.views.signin', name='auth_login'), url(r'^accounts/logout/$', 'user_site.views.signout', name='auth_logout'), (r'^admin/', include('muaccounts.urls')), (r'^tinymce/', include('tinymce.urls')), #Manage content url(r'^admin/apps/$', wrapped_queryset(object_list, lambda request, queryset: mu_queryset(request.muaccount, queryset, 'url').order_by('order')), {'queryset': MUFlatPage.objects.all(), 'template_name': "muaccounts/manage_content.html", 'template_object_name': 'flatpage'}, name='app_settings'), url(r'^content/add/(?P<app_label>muaccount_content)/(?P<model_name>muflatpage)/$', mu_initial(frontendadmin.views.add), {'form_exclude': ('enable_comments', 'template_name', 'use_default', 'active'), 'form_class': MuFlatpageAddForm, 'initial': {'sites': [settings.SITE_ID,]}, # 'template_name': 'muaccounts/frontendadmin_form.html', }, name='frontendadmin_add' ), url(r'^content/change/(?P<app_label>muaccount_content)/(?P<model_name>muflatpage)/(?P<instance_id>[\d]+)/$',
(r"^subscription/", include("subscription.urls")), (r"^profiles/", include("saaskit_profile.urls")), url( r"^notices/$", "notification.views.notices", {"template": "notification/dashboard.html"}, name="account_dashboard", ), (r"^notices/", include("notification.urls")), (r"^admin/rosetta/", include("rosetta.urls")), (r"^admin/doc/", include("django.contrib.admindocs.urls")), (r"^admin/templatesadmin/", include("templatesadmin.urls")), (r"^admin/", include(admin.site.urls)), url( r"^muaccounts/$", login_required(wrapped_queryset(object_list, lambda request, queryset: queryset.filter(owner=request.user))), {"template_object_name": "mua", "queryset": MUAccount.objects.all()}, name="muaccounts_listing", ), url( r"^content/add/(?P<app_label>muaccounts)/(?P<model_name>muaccount)/$", "muaccounts.views.create_muaccount", { "form_exclude": ( "about", "logo", "analytics_code", "webmaster_tools_code", "yahoo_app_id", "yahoo_secret", "members",