-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1025] Added document upload to ProjectDocument
- Loading branch information
1 parent
e06da91
commit 64ab816
Showing
3 changed files
with
80 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,40 +80,42 @@ <h2>{% trans 'Adding and Editing Projects.' %}</h2> | |
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 8 %} | ||
{% if forloop.counter == 7 %} | ||
{% with inline_admin_formset=inline_admin_formsets.2 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 9 %} | ||
{% if forloop.counter == 8 %} | ||
{% with inline_admin_formset=inline_admin_formsets.3 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 10 %} | ||
{% if forloop.counter == 9 %} | ||
{% with inline_admin_formset=inline_admin_formsets.4 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 11 %} | ||
{% if forloop.counter == 10 %} | ||
{% with inline_admin_formset=inline_admin_formsets.5 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 12 %} | ||
{% if forloop.counter == 11 %} | ||
{% with inline_admin_formset=inline_admin_formsets.6 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 13 %} | ||
{% if forloop.counter == 12 %} | ||
{% with inline_admin_formset=inline_admin_formsets.7 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 15 %} | ||
{% if forloop.counter == 13 %} | ||
{% with inline_admin_formset=inline_admin_formsets.8 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 15 %} | ||
{% with inline_admin_formset=inline_admin_formsets.9 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
|
@@ -132,14 +134,17 @@ <h2>{% trans 'Adding and Editing Projects.' %}</h2> | |
{% with inline_admin_formset=inline_admin_formsets.14 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 16 %} | ||
{% with inline_admin_formset=inline_admin_formsets.15 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% endif %} | ||
{% if forloop.counter == 16 %} | ||
{% with inline_admin_formset=inline_admin_formsets.16 %} | ||
{% include inline_admin_formset.opts.template %} | ||
{% endwith %} | ||
{% with inline_admin_formset=inline_admin_formsets.17 %} | ||
{% include inline_admin_formset.opts.template %} | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
KasperBrandt
Author
Contributor
|
||
{% endwith %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
|
Getting TemplateDoesNotExist when loading the project in the admin. It's because inline_admin_formset is None.