Re: custom form on admin interface page

2008-04-19 Thread apm

hi again

so i figured out the following (in admin/change_list.html):

{% ifequal cl.opts.verbose_name "poll" %}

Import from file  


{% endifequal %}

is this the way to go or are there better options?

thanks for your help
André


On Apr 18, 2:30 pm, "Andre Meyer" <[EMAIL PROTECTED]> wrote:
> hi all
>
> so, here is my plan: i want to add a simple form on one of the admin pages.
> this should allow the admin to import data (read a file, parse and fill the
> database).
>
> the problem is now that it is unclear to me where to add this form. which
> admin template to use? how to figure out whether the right page is
> displayed? meaning: the form should appear only on a specific overview page
> of a specific class of one app. how can one find out which one it is? the
> admin templates are all so nicely generic that it is difficult to add
> specific stuff for only one page - maybe not? ;-)
>
> thanks a lot for your help
> andré
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: serving static content on Windows

2008-04-17 Thread apm

Indeed, the problem was the shortcut! Now, it just works fine.

Thanks a lot, Koen
André

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---