Friday, March 30, 2012

Re: changelist link in change_form.html

inside your folder template create admin directory
all admin html files shud be placed here
inside it create a dir for ur app
inside ur app a dir for ur model

so typically url will be

http://localhost:8000/admin/<app name>/<model name >/add

On Sat, Mar 31, 2012 at 2:22 AM, Lee <lhughes30@gmail.com> wrote:
I know this has to be simple but I'm not finding it in the archives or
google. I just want to include a link to the corresponding changelist
in every add/edit form. I assume I need to update the change_form.html
template, but what is the correct syntax to display the changelist
URL? A 1.3-compatible solution would be best.

Thanks for any help or ideas.

Lee

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment