Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplified URL.

  • Loading branch information...
commit 1bc5db4b0e190c597ff13072f868402111a1d512 1 parent 9efe535
@jezdez jezdez authored
Showing with 6 additions and 9 deletions.
  1. +6 −9 threaded_messages/urls.py
View
15 threaded_messages/urls.py
@@ -19,14 +19,11 @@
url(r"^recipient-search/$", recipient_search, name="recipient_search"),
url(r'^message-reply/(?P<thread_id>[\d]+)/$', message_ajax_reply, name="message_reply"),
- # modal composing
- url(r'^modal-compose/(?P<recipient>[\w.+-_]+)/$', compose, {
- "template_name":"django_messages/modal_compose.html",
- "form_class": ComposeForm
- }, name='modal_messages_compose_to'),
-
url(r'^modal-compose/$', compose, {
- "template_name":"django_messages/modal_compose.html",
- "form_class": ComposeForm
- }, name='modal_messages_compose'),
+ "template_name": "django_messages/modal_compose.html",
+ }, name='modal_messages_compose'),
+
+ url(r'^modal-compose/(?P<recipient>[\w.+-_]+)/$', compose, {
+ "template_name": "django_messages/modal_compose.html",
+ }, name='modal_messages_compose_to'),
)
Please sign in to comment.
Something went wrong with that request. Please try again.