mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-10 00:42:06 +00:00
Implement auto-complete for /admin/ forms that reference User
We have so many users now that loading these forms take forever. Instead, implement a textbox with autocomplete using django-selectable, which will not load the whole list of users at once.
This commit is contained in:
@ -135,6 +135,9 @@ urlpatterns = patterns('',
|
||||
# Uncomment the next line to enable the admin:
|
||||
(r'^admin/', include(admin.site.urls)),
|
||||
|
||||
# We use selectable...
|
||||
(r'^selectable/', include('selectable.urls')),
|
||||
|
||||
# This should not happen in production - serve by the webserver natively!
|
||||
url(r'^(favicon.ico)$', 'django.views.static.serve', {
|
||||
'document_root': 'media',
|
||||
|
Reference in New Issue
Block a user