annotate accounts/urls.py @ 693:ad69236e8501

For issue #52, update many 3rd party Javascript libraries. Updated to jquery 1.10.2, jquery ui 1.10.3. This broke a lot of stuff. - Found a newer version of the jquery cycle all plugin (3.0.3). - Updated JPlayer to 2.4.0. - Updated to MarkItUp 1.1.14. This also required me to add multiline attributes set to true on various buttons in the markdown set. - As per a stackoverflow post, added some code to get multiline titles in a jQuery UI dialog. They removed that functionality but allow you to put it back. Tweaked the MarkItUp preview CSS to show blockquotes in italic. Did not update TinyMCE at this time. I'm not using the JQuery version and this version appears to work ok for now. What I should do is make a repo for MarkItUp and do a vendor branch thing so I don't have to futz around diffing directories to figure out if I'll lose changes when I update.
author Brian Neal <bgneal@gmail.com>
date Wed, 04 Sep 2013 19:55:20 -0500
parents 4a49d4ac319f
children 95f4e7f352fd
rev   line source
gremmie@1 1 """urls for the accounts application"""
bgneal@574 2 from django.conf.urls import patterns, url
bgneal@76 3 from django.conf import settings
bgneal@659 4 from django.views.generic import TemplateView
gremmie@1 5
gremmie@1 6 urlpatterns = patterns('accounts.views',
gremmie@1 7 url(r'^register/$', 'register', name='accounts-register'),
gremmie@1 8 (r'^register/thanks/$', 'register_thanks'),
bgneal@289 9 (r'^register/confirm/(?P<username>[\w.@+-]{1,30})/(?P<key>[a-zA-Z0-9]{20})/$', 'register_confirm'),
gremmie@1 10 )
gremmie@1 11
gremmie@1 12 urlpatterns += patterns('',
bgneal@78 13 url(r'^login/$',
gremmie@1 14 'django.contrib.auth.views.login',
gremmie@1 15 kwargs={'template_name': 'accounts/login.html'},
gremmie@1 16 name='accounts-login'),
bgneal@78 17 url(r'^logout/$',
gremmie@1 18 'django.contrib.auth.views.logout',
gremmie@1 19 kwargs={'template_name': 'accounts/logout.html'},
bgneal@289 20 name='accounts-logout'),
bgneal@289 21 (r'^password/$',
bgneal@289 22 'django.contrib.auth.views.password_change',
gremmie@1 23 {'template_name': 'accounts/password_change.html',
bgneal@76 24 'post_change_redirect': settings.LOGIN_REDIRECT_URL}),
bgneal@289 25 url(r'^password/reset/$',
bgneal@289 26 'django.contrib.auth.views.password_reset',
bgneal@78 27 kwargs={'template_name': 'accounts/password_reset.html',
bgneal@78 28 'email_template_name': 'accounts/password_reset_email.txt',
bgneal@78 29 'post_reset_redirect': '/accounts/password/reset/sent/'},
bgneal@78 30 name='accounts-password_reset'),
bgneal@78 31 url(r'^password/reset/sent/$',
bgneal@78 32 'django.contrib.auth.views.password_reset_done',
bgneal@78 33 kwargs={'template_name': 'accounts/password_reset_sent.html'},
bgneal@78 34 name='accounts-password_reset_sent'),
bgneal@78 35 url(r'^password/reset/confirm/(?P<uidb36>[0-9a-z]+)/(?P<token>[0-9a-z]+-\w+)/$',
bgneal@78 36 'django.contrib.auth.views.password_reset_confirm',
bgneal@78 37 kwargs={
bgneal@78 38 'template_name': 'accounts/password_reset_confirm.html',
bgneal@78 39 'post_reset_redirect': '/accounts/password/reset/success/',
bgneal@78 40 },
bgneal@78 41 name='accounts-password_reset_confirm'),
bgneal@78 42 url(r'^password/reset/success/$',
bgneal@78 43 'django.contrib.auth.views.password_reset_complete',
bgneal@78 44 kwargs={'template_name': 'accounts/password_reset_complete.html'},
bgneal@78 45 name='accounts-password_reset_success'),
bgneal@659 46 url(r'^username/query/$',
bgneal@659 47 'accounts.views.username_query',
bgneal@659 48 name='accounts-username_query'),
bgneal@659 49 url(r'^username/sent/$',
bgneal@659 50 TemplateView.as_view(template_name='accounts/username_sent.html'),
bgneal@659 51 name='accounts-username_sent'),
gremmie@1 52 )
gremmie@1 53