List Info

Thread: admin templates & css




admin templates & css
user name
2006-03-29 08:42:51
Hi all,

thanks for your help in advance

two problems

1. I have a class with about 15 attributes, in the admin
templates,
when lets say creating a Poll with a Choice which has 15
choices, what
is the best way of viewing them choices? what I mean is
currently you
have to scroll right to get to all of them. I would prefer
scrolling
down. (not much difference but still)


2. I have managed to get my Apache connected to Django on my
windows
machine. But I havent yet been able to get the admin css
known to
Apache to serve them.

this is what I have in my conf file:

#mod_python loading
LoadModule python_module modules/mod_python.so

#django sites
#claims
    <Location "/">
        SetHandler python-program
        PythonHandler django.core.handlers.modpython
        PythonPath "['C:\Documents and
Settings\..FullpathTo\Desktop']
+ sys.path"
        SetEnv DJANGO_SETTINGS_MODULE myproject.settings
        PythonDebug On
    </Location>

#trying to tell apache where to find admin CSS FILES
#
# IT IS NOT WORKING FOR NOW!
Alias /admin/media
"C:/fullpathToMyDjango/Django-0.91/django/contrib/admi
n/media"
<Directory
"C:/fullpathToMyDjango/Django-0.91/django/contrib/admi
n/media">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

#set handler off for media
    <Location "media">
        SetHandler None
    </Location>


PS: I know a tiny bit of apache!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )