On 02-03-14 20:49, Jaap van Wingerde wrote:
> views.py:
> ...
> pwd = os.path.dirname(os.path.realpath(__file__ ))
> home_lastmod =
> strftime('%Y-%m-%dT%H:%m:%SZ',gmtime(os.path.getmtime(pwd+'/templates/art_index.html')))
> ...
>
> The template says: "2014-03-02T19:03:55Z".
The strtime argumen
views.py:
...
pwd = os.path.dirname(os.path.realpath(__file__ ))
home_lastmod =
strftime('%Y-%m-%dT%H:%m:%SZ',gmtime(os.path.getmtime(pwd+'/templates/art_index.html')))
...
The template says: "2014-03-02T19:03:55Z".
...
jaap@liakoster:~$ python
Python 2.7.3 (default, Jan 2 2013, 13:56:14)
[GC
2 matches
Mail list logo