mirror of
https://github.com/django/django.git
synced 2024-12-23 17:46:27 +00:00
ac37ed21b3
Replaced them with per-database options, for proper multi-db support. Also toned down the recommendation to tie transactions to HTTP requests. Thanks Jeremy for sharing his experience.
13 lines
331 B
Python
13 lines
331 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
from . import views
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^regular/$', views.regular),
|
|
url(r'^streaming/$', views.streaming),
|
|
url(r'^in_transaction/$', views.in_transaction),
|
|
url(r'^not_in_transaction/$', views.not_in_transaction),
|
|
)
|