Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc866840

Browse files
committed
Add last updated date to downloads supernav template
1 parent4bf3b75 commitc866840

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎downloads/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ def update_supernav():
154154

155155
content=render_to_string('downloads/supernav.html', {
156156
'python_files':python_files,
157+
'last_updated':timezone.now(),
157158
})
158159

159160
box,_=Box.objects.update_or_create(

‎templates/downloads/supernav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!--download supernav from templates/downloads/supernav.html -->
1+
<!--Download supernav from templates/downloads/supernav.html - Last updated at {{ last_updated }} -->
22
<liclass="tier-2 super-navigation">
33
{% for data in python_files %}
44
<divclass="download-os-{{ data.os.slug }}"style="display: none;">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp