Sorry, must have forgotton that part, it just wasn't displaying
anything,
its was cos I was archive.datetime, when archive was already a dateime
object.
Now I've changed it to {{ archive }} its fine.
Thanks guys,
Andrew
--~--~-~--~~~---~--~~
You received this
On Sep 13, 10:49 pm, djandrow <[EMAIL PROTECTED]> wrote:
> This is probably really really obvious. I have the following statement
> in my views.py:
>
> archive_list = Entry.objects.dates('entry_date', 'month',
> order='DESC')
>
> then I have;
>
> {% for archive in archive_list %}
>
> {{
On Sat, Sep 13, 2008 at 11:49 PM, djandrow <[EMAIL PROTECTED]> wrote:
>
> This is probably really really obvious. I have the following statement
> in my views.py:
>
> archive_list = Entry.objects.dates('entry_date', 'month',
> order='DESC')
>
> then I have;
>
> {% for archive in archive_list %}
>
This is probably really really obvious. I have the following statement
in my views.py:
archive_list = Entry.objects.dates('entry_date', 'month',
order='DESC')
then I have;
{% for archive in archive_list %}
{{ archive.datetime }}
{% endfor %}
in my template, i am 99.9% my problem is with {{
4 matches
Mail list logo