Задать вопрос

Тел: +7 965 3737 888

440

Просмотров

2

Ответов

Use git log to give your app a revision

<p>Put that stuff in your settings.py
Then you can use the git log last date to make that your "revision number" assuming you don't use regular version release numbers. With it you can do something like:</p>
&lt;div id="footer"&gt;
&amp;copy; My Company 
&amp;mdash; The Super App (revision {{ GIT_REVISION_DATE }})
 &lt;/div&gt;

<p>See if you like it</p>

Вопрос полезен? Да0/Нет0
file_4969.py(398.0б)
None

Ответы (2):

Ответpalobo:01.11.2009
Ответ полезен? Да0/Нет0

Nice and simple idea. Since I prefer mercurial a slight modification will be needed though.

Thanks.

Ответferesp:30.10.2009
Ответ полезен? Да0/Нет0

Is it only for Linux machines? Thanks...