mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-16 22:10:30 +00:00
Fixed jQueryUI highlight method call in success handler of ajax function when dragging stops. Fixed missing script resource for jquery.effects.core.js
16 lines
464 B
Python
Executable file
16 lines
464 B
Python
Executable file
from django.conf import settings
|
|
from django.conf.urls.defaults import patterns, url, include
|
|
from django.contrib import admin
|
|
|
|
|
|
admin.autodiscover()
|
|
|
|
urlpatterns = patterns('',
|
|
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
(r'^admin/', include(admin.site.urls)),
|
|
)
|
|
|
|
if settings.SERVE_STATIC_MEDIA:
|
|
urlpatterns += patterns('',
|
|
(r'^' + settings.MEDIA_URL.lstrip('/'), include('appmedia.urls')),
|
|
) + urlpatterns
|