Skip to content

Commit

Permalink
fixed README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
shamanu4 committed Aug 30, 2016
1 parent 6509d40 commit f93f304
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Refer to http://django-autocomplete-light.readthedocs.io/ for more detailed inst
@admin.register(Person)
class PersonAdmin(admin.ModelAdmin):
class Media: # Empty media class is required if you are using autocomplete filter
pass # If you know better solution for altering admin.media from filter instance
pass # If you know better solution for altering admin.media from filter instance
# - please contact me or make a pull request
list_filter = [CountryFilter]
Expand Down
16 changes: 8 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ Installation

.. code::
pip install django-autocomplete-light dal_admin_filters``
pip install django-autocomplete-light dal_admin_filters
- Update INSTALLED\_APPS. You need too put django-autocomplete-light before admin

.. code:: python
INSTALLED_APPS = [
'dal',
'dal_select2',
'dal_admin_filters',
#
'django.contrib.admin',
... other stuff there ...
INSTALLED_APPS = [
'dal',
'dal_select2',
'dal_admin_filters',
#
'django.contrib.admin',
... other stuff there ...
]
Configuration
Expand Down

0 comments on commit f93f304

Please sign in to comment.