You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
461 B
12 lines
461 B
from django.conf.urls import url
|
|
from . import views
|
|
|
|
app_name = 'msg_app'
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views.ConversationsListView.as_view(), name='home'),
|
|
url(r'^new$', views.new_conversation, name='new_conversation'),
|
|
url(r'^(?P<conv_id>\d+)/$', views.to_conversation, name='to_conversation'),
|
|
url(r'^(?P<conv_id>\d+)/(?P<msg_id>\d+)/del$', views.remove_msg, name='remove_msg'),
|
|
url(r'^check_news$', views.check_news, name='check_news')
|
|
]
|