Selaa lähdekoodia

remove formadmin package

timur 8 vuotta sitten
vanhempi
commit
c7da36fa0c
2 muutettua tiedostoa jossa 3 lisäystä ja 4 poistoa
  1. 2 2
      jet/templates/rangefilter/date_filter.html
  2. 1 2
      setup.py

+ 2 - 2
jet/templates/rangefilter/date_filter.html

@@ -1,4 +1,4 @@
-{% load i18n admin_static formadmin_filters %}
+{% load i18n admin_static %}
 
 <script>
     function datefilter_apply(event, qs_name, form_name){
@@ -17,7 +17,7 @@
     <div id="filter-content" style="display: none">
         <form method="GET" action="." id="{{ choices.0.system_name }}-form">
             {{ spec.form.media }}
-            {{ spec.form|as_django_admin }}
+            {{ spec.form }}
             {% for choice in choices %}
                 <input type="hidden" id="{{ choice.system_name }}-query-string" value="{{ choice.query_string }}">
             {% endfor %}

+ 1 - 2
setup.py

@@ -13,8 +13,7 @@ def read(fname):
 
 def get_install_requires():
     install_requires = [
-        'Django', 
-        'django-form-admin'
+        'Django'
     ]
     try:
         import importlib