Fix django ajax selects
[auf_rh_dae.git] / project / rh / admin.py
index 8f10421..df95a20 100644 (file)
@@ -29,7 +29,14 @@ from project.rh.change_list import ChangeList
 class BaseAdmin(admin.ModelAdmin):
 
     class Media:
-        css = {'screen': ('css/admin_custom.css',)}
+        css = {'screen': (
+            'css/admin_custom.css',
+            'jquery-autocomplete/jquery.autocomplete.css',
+        )}
+        js = (
+            'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
+            'jquery-autocomplete/jquery.autocomplete.min.js',
+        )
 
 
 class ArchiveMixin(object):