mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-10 00:42:06 +00:00
Switch to using staticfiles app for serving, well, static files
This is required by the new admin interface
This commit is contained in:
@ -135,9 +135,6 @@ urlpatterns = patterns('',
|
||||
(r'^admin/', include(admin.site.urls)),
|
||||
|
||||
# This should not happen in production - serve by the webserver natively!
|
||||
url(r'^media/(.*)$', 'django.views.static.serve', {
|
||||
'document_root': '../media',
|
||||
}),
|
||||
url(r'^(favicon.ico)$', 'django.views.static.serve', {
|
||||
'document_root': '../media',
|
||||
}),
|
||||
|
Reference in New Issue
Block a user