Re: ImportError: Could not import settings '.settings'.
Muslu Yüksektepe wrote: >46 PythonPath "['*/home/hutch/apps/wikinotes/*'] + sys.path" > > > try this code [ ... ] Apache returns 500 with that particular code. Anyway, it works already (see my last post). Thanks in any case. ;) Cheers, Ishwor smime.p7s Description: S/MIME Cryptographic Signature
Re: ImportError: Could not import settings '.settings'.
46 PythonPath "['*/home/hutch/apps/wikinotes/*'] + sys.path" try this code 2009/3/6 Ishwor Gurung <ish...@loopback.ath.cx> > Hi > I want to run this django app I wrote called wikinotes (its a modified > version of note application to maintain user single user session [1]) > for simple note taking. While the wikinotes works absolutely correctly > using "python manage.py runserver", it fails to work if i use it with > Apache and mod_python. > > Now, I am trying to http://localhost:8000/wikinotes it does a redirect > to http://localhost:8000/static/login.html which is desired behaviour > everything works as desired (This is using django's own server fired > using "python manage.py runserver"). > > However, when I try to log into http://localhost/wikinotes using > Apache, it redirects to http://localhost/static/login.html as desired. > But after pressing "login" form button this time, it fails with the > following traceback - > > > MOD_PYTHON ERROR > > ProcessId: 32469 > Interpreter:'localhost.localdomain' > > ServerName: 'localhost.localdomain' > DocumentRoot: '/var/www/' > > URI:'/wikinotes' > Location: '/wikinotes' > Directory: None > Filename: '/var/www/wikinotes' > PathInfo: '' > > Phase: 'PythonHandler' > Handler:'django.core.handlers.modpython' > > Traceback (most recent call last): > > File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line > 1537, in HandlerDispatch >default=default_handler, arg=req, silent=hlist.silent) > > File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line > 1229, in _process_target >result = _execute_target(config, req, object, arg) > > File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line > 1128, in _execute_target >result = object(arg) > > File > "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", > line 228, in handler >return ModPythonHandler()(req) > > File > "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", > line 191, in __call__ >self.load_middleware() > > File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", > line 31, in load_middleware >for middleware_path in settings.MIDDLEWARE_CLASSES: > > File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", line > 28, in __getattr__ >self._import_settings() > > File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", line > 59, in _import_settings >self._target = Settings(settings_module) > > File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", line > 94, in __init__ >raise ImportError, "Could not import settings '%s' (Is it on > sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e) > > ImportError: Could not import settings 'wikinotes.settings' (Is it on > sys.path? Does it have syntax errors?): No module named wikinotes.settings > > > Apache config - > i...@debian:[~/apps/wikinotes] cat -n /etc/apache2/sites-available/default > 1 >40 >41 >42 SetHandler python-program >43 PythonHandler django.core.handlers.modpython >44 SetEnv DJANGO_SETTINGS_MODULE wikinotes.settings >45 PythonDebug On >46 PythonPath "['/home/hutch/apps/wikinotes/wikinote'] + > sys.path" >47 >48 >49 > > > i...@debian:[~/apps] ls > wikinotes > > i...@debian:[~/apps/wikinotes] ls > __init__.py __init__.pyc manage.py media settings.py settings.pyc > static urls.py urls.pyc wikinote wikinotes.db > > i...@debian:[~/apps/wikinotes] cat -n urls.py > 1 from django.conf.urls.defaults import * > 2 from django.conf import settings > 3 > 4 # Uncomment the next two lines to enable the admin: > 5 from django.contrib import admin > 6 admin.autodiscover() > 7 > 8 urlpatterns = patterns('', > 9 # Example: >10 #(r'^wikinotes/', include('wikinotes.wikinote.urls')), >11 >12 # Uncomment the admin/doc line below and add > 'django.contrib.admindocs' >13 # to INSTALLED_APPS to enable admin documentation: >14 # (r'^admin/doc/', include('django.contrib.admindocs.urls')), >15 >16 # Uncomment the next line to enable the admin: >17 (r'^admin/(.*)', admin.site.root), >18 (r'^media/(?P.*)$', 'django.views.static.serve', > {'document_root'
Re: ImportError: Could not import settings '.settings'.
Hi Ishwor Gurung wrote: > Hi [ ] Another follow up (and hopefully last one for the night). The problem was with my mod_python, view and urlconf configs - I changed mod_python directives from what was in the previous to: SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE wikinotes.settings PythonDebug On PythonPath "['/home/hutch/apps/', '/var/www'] + sys.path" and did a bunch of path fixes to view and urlconf (shouldn't this be uneeded? because the reasoning is that every time a web developer creates a project, they shouldn't have to muck around with either views/urlconf so as to reflect apache settings right? However, this is not urgent per se but if someone knows a "better way" to fix up my view and urlconf so it is independent of apache, it'd be really nice if they could point me to a documentation. Done. Thanks for reading my wild rants. Umphh! :D Cheers, Ishwor. smime.p7s Description: S/MIME Cryptographic Signature
Re: ImportError: Could not import settings '.settings'.
Hi Ishwor Gurung wrote: > Hi > I want to run this django app I wrote called wikinotes (its a modified > version of note application to maintain user single user session [1]) > for simple note taking. While the wikinotes works absolutely correctly > using "python manage.py runserver", it fails to work if i use it with > Apache and mod_python. [ ] Digged up documentation on mod_python[1]; basically just to save you guys the hassles, configuration for mod_python+apache is good. No worries in that department. Anyone's care to give any wild stab at it? :) I've been trying to get this thing up and running pretty much since this morning without much luck. Cheers, Ishwor. [1] http://www.modpython.org/live/current/doc-html/inst-testing.html smime.p7s Description: S/MIME Cryptographic Signature
ImportError: Could not import settings '.settings'.
Hi I want to run this django app I wrote called wikinotes (its a modified version of note application to maintain user single user session [1]) for simple note taking. While the wikinotes works absolutely correctly using "python manage.py runserver", it fails to work if i use it with Apache and mod_python. Now, I am trying to http://localhost:8000/wikinotes it does a redirect to http://localhost:8000/static/login.html which is desired behaviour everything works as desired (This is using django's own server fired using "python manage.py runserver"). However, when I try to log into http://localhost/wikinotes using Apache, it redirects to http://localhost/static/login.html as desired. But after pressing "login" form button this time, it fails with the following traceback - MOD_PYTHON ERROR ProcessId: 32469 Interpreter:'localhost.localdomain' ServerName: 'localhost.localdomain' DocumentRoot: '/var/www/' URI:'/wikinotes' Location: '/wikinotes' Directory: None Filename: '/var/www/wikinotes' PathInfo: '' Phase: 'PythonHandler' Handler:'django.core.handlers.modpython' Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch default=default_handler, arg=req, silent=hlist.silent) File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target result = _execute_target(config, req, object, arg) File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target result = object(arg) File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 228, in handler return ModPythonHandler()(req) File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 191, in __call__ self.load_middleware() File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 31, in load_middleware for middleware_path in settings.MIDDLEWARE_CLASSES: File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", line 28, in __getattr__ self._import_settings() File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", line 59, in _import_settings self._target = Settings(settings_module) File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", line 94, in __init__ raise ImportError, "Could not import settings '%s' (Is it on sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e) ImportError: Could not import settings 'wikinotes.settings' (Is it on sys.path? Does it have syntax errors?): No module named wikinotes.settings Apache config - i...@debian:[~/apps/wikinotes] cat -n /etc/apache2/sites-available/default 1 40 41 42 SetHandler python-program 43 PythonHandler django.core.handlers.modpython 44 SetEnv DJANGO_SETTINGS_MODULE wikinotes.settings 45 PythonDebug On 46 PythonPath "['/home/hutch/apps/wikinotes/wikinote'] + sys.path" 47 48 49 i...@debian:[~/apps] ls wikinotes i...@debian:[~/apps/wikinotes] ls __init__.py __init__.pyc manage.py media settings.py settings.pyc static urls.py urls.pyc wikinote wikinotes.db i...@debian:[~/apps/wikinotes] cat -n urls.py 1 from django.conf.urls.defaults import * 2 from django.conf import settings 3 4 # Uncomment the next two lines to enable the admin: 5 from django.contrib import admin 6 admin.autodiscover() 7 8 urlpatterns = patterns('', 9 # Example: 10 #(r'^wikinotes/', include('wikinotes.wikinote.urls')), 11 12 # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 13 # to INSTALLED_APPS to enable admin documentation: 14 # (r'^admin/doc/', include('django.contrib.admindocs.urls')), 15 16 # Uncomment the next line to enable the admin: 17 (r'^admin/(.*)', admin.site.root), 18 (r'^media/(?P.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }), 19 (r'^static/(?P.*)$', 'django.views.static.serve',{'document_root': settings.STATIC_ROOT }), 20 (r'^', include('wikinotes.wikinote.urls')), 21 ) i...@debian:[~/apps/wikinotes/wikinote] cat -n urls.py 1 # vim: ai ts=4 sts=4 et sw=4 2 3 from django.conf.urls.defaults import * 4 from wikinotes.wikinote.models import WikiNote 5 wikinotes = WikiNote.objects.all() 6 7 urlpatterns = patterns ('', 8 (r'^wikinotes$','wikinotes.wikinote.views.login_page'), 9 (r'^view$','django.views.generic.list_detail.object_list',dict(queryset=wikinotes)), 10 (r'^note/(?P[-\w]+)/update/$','wi
Re: ImportError: Could not import settings 'settings'
Ok, so I started from scratch and it was permissions problems as you guessed. The folders and files did not have group read or execute permissions. Everything was defaulting to drwx-- for directories and -rw--- for files when uploaded via FTP. Is this normal behavior? Or is this something to do with my system? Is there any way to make my system create the desired permissions by default? Either way its all working now so Im happy :-) Thanks for any help, Dana On Oct 15, 8:43 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2008-10-15 at 20:16 -0700, D. Woodman wrote: > > Hi Malcolm, > > > Sorry about restating my FTP question, I missed the top part of your > > reply. I in no way wanted you to play remote sys admin, just thought > > there may have been something I missed about FTP. > > > Since this is a personal server, I don't have any sys admin to save > > the day :) > > Well, if it's a personal server with no other users on there but you, > just letting everybody (the "other" section) have read permissions on > settings.py won't hurt. So that will at least allow you to make > progress. > > Regards, > Malcolm > > --~--~-~--~~~---~--~~ 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: ImportError: Could not import settings 'settings'
Ok, thanks for the tip Malcolm, Ill try that out tonight. Have a great evening. Cheers, Dana Well, if it's a personal server with no other users on there but you, > just letting everybody (the "other" section) have read permissions on > settings.py won't hurt. So that will at least allow you to make > progress. > > Regards, > Malcolm --~--~-~--~~~---~--~~ 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: ImportError: Could not import settings 'settings'
On Wed, 2008-10-15 at 20:16 -0700, D. Woodman wrote: > Hi Malcolm, > > Sorry about restating my FTP question, I missed the top part of your > reply. I in no way wanted you to play remote sys admin, just thought > there may have been something I missed about FTP. > > Since this is a personal server, I don't have any sys admin to save > the day :) Well, if it's a personal server with no other users on there but you, just letting everybody (the "other" section) have read permissions on settings.py won't hurt. So that will at least allow you to make progress. Regards, Malcolm > --~--~-~--~~~---~--~~ 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: ImportError: Could not import settings 'settings'
Hi Malcolm, Sorry about restating my FTP question, I missed the top part of your reply. I in no way wanted you to play remote sys admin, just thought there may have been something I missed about FTP. Since this is a personal server, I don't have any sys admin to save the day :) Ill have to just keep digging around till I stumble on the fix (which Im sure will be simple as they always seem to be...). I will be looking specifically into permissions issues as you suggested. Thanks a lot for your time and effort. Cheers, Dana On Wed, 2008-10-15 at 19:45 -0700, D. Woodman wrote: > > Haha, well I'm glad I didnt try that command. > > > > I ran "groups" and it returned only the group "bob" for the account I > > created, I did not see "apache" in that list (or any other group or > > user for that matter). I also ran "groups apache" with no result. Any > > more suggestions? > > It would be unusual for the user called apache not to be in any groups > at all. Sounds like you should really be talking to your system > adminstrator at this point. It's all pretty specific to the way the > system is set up. > > You need the user who is running the webserver to be able to read the > file. Since the settings file is semi-sensitive because it contains > things like the server-side secret and database password, it makes sense > not to make it world readable. However to make it group readable by the > appropriate user, that user has to be in a group you can set as the > group owner of the file. So you need to know the right user and the > right group. Take those questions to the sys-admin for the system and > they should be able to help you out. > > > Would transferring files via FTP cause this issue? > > When I said in the last email that I wasn't going to guess about this, > which part of that did you misunderstand? I'm serious: I'm not going to > guess, because it could be a number of things and I really don't want to > play remote sysadmin for a system and set of client and server tools I > don't know anything about. It's been years since I've done anything > non-trivial with FTP beyond downloading data from remote systems. > > Regards, > Malcolm > > --~--~-~--~~~---~--~~ 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: ImportError: Could not import settings 'settings'
On Wed, 2008-10-15 at 19:45 -0700, D. Woodman wrote: > Haha, well I'm glad I didnt try that command. > > I ran "groups" and it returned only the group "bob" for the account I > created, I did not see "apache" in that list (or any other group or > user for that matter). I also ran "groups apache" with no result. Any > more suggestions? It would be unusual for the user called apache not to be in any groups at all. Sounds like you should really be talking to your system adminstrator at this point. It's all pretty specific to the way the system is set up. You need the user who is running the webserver to be able to read the file. Since the settings file is semi-sensitive because it contains things like the server-side secret and database password, it makes sense not to make it world readable. However to make it group readable by the appropriate user, that user has to be in a group you can set as the group owner of the file. So you need to know the right user and the right group. Take those questions to the sys-admin for the system and they should be able to help you out. > Would transferring files via FTP cause this issue? When I said in the last email that I wasn't going to guess about this, which part of that did you misunderstand? I'm serious: I'm not going to guess, because it could be a number of things and I really don't want to play remote sysadmin for a system and set of client and server tools I don't know anything about. It's been years since I've done anything non-trivial with FTP beyond downloading data from remote systems. Regards, Malcolm --~--~-~--~~~---~--~~ 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: ImportError: Could not import settings 'settings'
Haha, well I'm glad I didnt try that command. I ran "groups" and it returned only the group "bob" for the account I created, I did not see "apache" in that list (or any other group or user for that matter). I also ran "groups apache" with no result. Any more suggestions? Would transferring files via FTP cause this issue? I've never come across this issue while setting up servers before (even on the same machine). I wiped the machine clean with a new install and tried to start fresh but have been hitting this wall pretty hard... Any help is greatly appreciated! Thanks again, Dana Not even close. :-) > > You're trying to modify the permission and ownership of a file, not > change the apache user. Typically the apache user will only belong to > the apache group (check this with "groups apache"). So you might do > something like > >chgrp apache settings.py >chmod g+r settings.py > > Regards, > Malcolm > --~--~-~--~~~---~--~~ 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: ImportError: Could not import settings 'settings'
On Wed, 2008-10-15 at 19:20 -0700, D. Woodman wrote: > Hi Malcolm, > > First off, thanks for taking the time to help out. > > I had an inkling that it was a permission problem, so I decided to > remove everything and start again. After creating a new user and > creating the folders as that user (lets call the user "bob") I still > get the same issue. I have uploaded all my files via FTP (logged in as > the user "bob"). Could the fact that I am using FTP cause the problem? > > Here is the result of the "ls -l settings.py": > > -rw--- 1 bob bob 1804 Oct 15 22:08 settings.py > > Now if I manually change the CHMOD to 775 it resolved the problem, but > this doesn't explain why when the file is added it does not have the > proper CHMOD does it? That could be something to do with the FTP client or with the umask setting on the server or possibly something else. I don't really know and won't guess; I'll only be off-base. > > How would I make the webserver's (Apache2) group be the owner of the > file? Would I do something like: > > usermod apache -g mygroup Not even close. :-) You're trying to modify the permission and ownership of a file, not change the apache user. Typically the apache user will only belong to the apache group (check this with "groups apache"). So you might do something like chgrp apache settings.py chmod g+r settings.py Regards, Malcolm --~--~-~--~~~---~--~~ 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: ImportError: Could not import settings 'settings'
Hi Malcolm, First off, thanks for taking the time to help out. I had an inkling that it was a permission problem, so I decided to remove everything and start again. After creating a new user and creating the folders as that user (lets call the user "bob") I still get the same issue. I have uploaded all my files via FTP (logged in as the user "bob"). Could the fact that I am using FTP cause the problem? Here is the result of the "ls -l settings.py": -rw--- 1 bob bob 1804 Oct 15 22:08 settings.py Now if I manually change the CHMOD to 775 it resolved the problem, but this doesn't explain why when the file is added it does not have the proper CHMOD does it? How would I make the webserver's (Apache2) group be the owner of the file? Would I do something like: usermod apache -g mygroup Im not sure which user Apache is. Thanks a ton for your help and your time, Dana That would suggest a permissions problem: maybe the webserver doesn't > have permission to read the *.py files? What does "ls -l settings.py" > look like? You might have to add read permissions for the "other" > section or, since settings sometimes contain information you don't want > every user on the system to be able to read, make the webserver's group > be the group owner of the file. > > Regards, > Malcolm --~--~-~--~~~---~--~~ 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: ImportError: Could not import settings 'settings'
On Wed, 2008-10-15 at 14:15 -0700, Dana wrote: > Hey All, > > Im getting the error "ImportError: Could not import settings > 'setting'" when running my Django project on a SliceHost server using > Apache/mod_python. > > Here is my vhost file (located in /etc/apache2/sites-available/ > myproject): > > > > ServerName www.example.com > ServerAlias nahnooh.com, *.example.com > ErrorLog /home/user/logs/error.log > CustomLog /home/user/logs/access.log combine > > > SetHandler python-program > PythonHandler django.core.handlers.modpython > PythonPath "['/home/user/software/django', '/home/user/src'] + > sys.path" > SetEnv DJANGO_SETTINGS_MODULE settings > PythonDebug On > > > > SetHandler None > > > > SetHandler None > > > > SetHandler None > > > > SetHandler None > > > Alias /admin_media /usr/lib/python2.5/site-packages/django/contrib/ > admin/media > Alias /media /home/user/media > Alias /uploads /home/user/uploads > > > > The folder /home/user/src contains the settings.py file (as well as > urls.py, manage.py, and __init__.py). I have tried to tweak these > settings quite a bit, but with no luck. > > I have gotten this message to disappear by typing this into a python > shell (to get the settings and url files to compile into .pyc files): > > >>> import settings, urls > > But it seems to me that I should not need to do this and that there is > some other problem. I am sure it is something simple, but I cant for > the life of me figure it out. Any help would be greatly appreciated! That would suggest a permissions problem: maybe the webserver doesn't have permission to read the *.py files? What does "ls -l settings.py" look like? You might have to add read permissions for the "other" section or, since settings sometimes contain information you don't want every user on the system to be able to read, make the webserver's group be the group owner of the file. Regards, Malcolm --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
ImportError: Could not import settings 'settings'
Hey All, Im getting the error "ImportError: Could not import settings 'setting'" when running my Django project on a SliceHost server using Apache/mod_python. Here is my vhost file (located in /etc/apache2/sites-available/ myproject): ServerName www.example.com ServerAlias nahnooh.com, *.example.com ErrorLog /home/user/logs/error.log CustomLog /home/user/logs/access.log combine SetHandler python-program PythonHandler django.core.handlers.modpython PythonPath "['/home/user/software/django', '/home/user/src'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE settings PythonDebug On SetHandler None SetHandler None SetHandler None SetHandler None Alias /admin_media /usr/lib/python2.5/site-packages/django/contrib/ admin/media Alias /media /home/user/media Alias /uploads /home/user/uploads The folder /home/user/src contains the settings.py file (as well as urls.py, manage.py, and __init__.py). I have tried to tweak these settings quite a bit, but with no luck. I have gotten this message to disappear by typing this into a python shell (to get the settings and url files to compile into .pyc files): >>> import settings, urls But it seems to me that I should not need to do this and that there is some other problem. I am sure it is something simple, but I cant for the life of me figure it out. Any help would be greatly appreciated! Thank You! Dana --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---