Hi,
I am not getting you.
Can u please explain me what my href=? should be for adding user or
for editing user.
Thanks...

On Feb 14, 4:15 pm, Julien <[EMAIL PROTECTED]> wrote:
> How about: <a href="/admin/auth/user/{{ model.id }}/">    (assuming
> that "model" designates the user...)
>
> On Feb 14, 10:01 pm, django <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I just want to use admin interface for adding and editing user.
> > I have a tab for adding and editing user.
> > But the problem here  is how can I direct my tab clicking to django
> > admin add or edit user page.
> > I dont wont to hard code it by writting view function for it. I want
> > to use default django admin add user link.
>
> > My code is as follows:
> > {% block adminlink %}
> > {% load adminapplist %}
> > {% get_admin_app_list as app_list %}
> >                 <li><a href="{{????}}"> User</a></li>
> > {% endblock %}
>
> > I tried using ------> {{Users.admin_url}} but it doent work.
>
> > By default the code is as follows:
> > {% if model.perms.change %}
> > <th scope="row"><a href="{{ model.admin_url }}">{{ model.name|
> > escape }}</a></th>
> > % else %}
> > <th scope="row">{{ model.name|escape }}</th>
> > {% endif %}
>
> > Please help me out.
>
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to