1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

[full-history] Changed templates to correspond ContentType-ified models.py

git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Uroš Trebec 2006-07-22 10:24:27 +00:00
parent 1e2fbc3de8
commit 097ed46023
2 changed files with 7 additions and 4 deletions

View File

@ -1,10 +1,11 @@
{% if change %}
<ul>
<li>ID: {{ change.id }}</li>
<li>PID: {{ change.parent_id }}</li>
<li>PID: {{ change.object_id }}</li>
<li>UID: {{ change.user_id }}</li>
<li>Change time: {{ change.change_time }}</li>
<li>Comment: {{ change.comment }}</li>
<hr width="100px" align="left"/>
<li>ID: {{ object.id }}
<li>Question: {{ object.question }}</li>
<li>Pub date: {{ object.pub_date }}</li>

View File

@ -3,14 +3,16 @@
<tr>
<td>ID:</td>
<td>PID:</td>
<td>Change time:</td>
<td>Change time:</td>
<td>Type:</td>
</tr>
{% for change in changes_list %}
<tr>
<td><a href="detail/{{ change.id }}/">{{ change.id }}</td>
<td>{{ change.parent_id }}</td>
<td>{{ change.object_id }}</td>
<td>{{ change.change_time }}</td>
<td>{{ change.content_type }}</td>
</tr>
{% endfor %}