On Tue, Jul 21, 2009 at 7:53 PM, Vasil Vangelovski
<[email protected]>wrote:
>
> I've posted a question about this a few days ago and I thought I was
> confused about something, but it was probably some problem with the
> django revision at the time or I'm even more confused now. So... I
> have an application called epg with a model named Show and I want to
> provide a link for editing an instance of this model on the admin.
> Now, the django checkout on my laptop is a week old and the one on my
> desktop was updated today, so this code:
>
> reverse('admin_epg_Show_change', args = (id,))
>
> works on my laptop but does not work on my desktop
>
> and this code:
>
> reverse('admin:epg_Show_change', args = (id,))
>
> works on my desktop but doesn't work on my laptop
>
> what's going on??? which one should I use??? What will stick in django
> 1.1 final??? Judging by the docs for the admin it should be the second
> one, but I'm confused.
>
The second version JUST was implemented less then a week ago. It will ship
in the 1.1 final. Try updating your svn copy on the the laptop, it should
work as well.
Hope that helps,
Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---