Skip to content

Commit

Permalink
Merge pull request #22 from realmhamdy/fix-staticfiles
Browse files Browse the repository at this point in the history
Fix loading staticfiles app in templates
  • Loading branch information
treyhunner committed Sep 15, 2021
2 parents a0d27f1 + d7b5412 commit f27a7f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion relatives/__init__.py
@@ -1 +1 @@
__version__ = '1.2.1'
__version__ = '1.2.2'
2 changes: 1 addition & 1 deletion relatives/templates/relatives/change_form.html
@@ -1,5 +1,5 @@
{% extends "admin/change_form.html" %}
{% load staticfiles relatives %}
{% load static relatives %}

{% block field_sets %}
{% related_objects adminform.form.instance as related_objects %}
Expand Down
1 change: 1 addition & 0 deletions relatives/tests/admin.py
Expand Up @@ -14,6 +14,7 @@ def upper_name(self, obj):


class ShipAdmin(admin.ModelAdmin):
change_form_template = 'relatives/change_form.html'
readonly_fields = ['name']


Expand Down

0 comments on commit f27a7f5

Please sign in to comment.