Re: Problems saving values from SelectDateWidget

2007-12-06 Thread Stupid Dustbin
Dec 6, 2:24 am, RajeshD <[EMAIL PROTECTED]> wrote: > On Dec 5, 10:31 am, Stupid Dustbin <[EMAIL PROTECTED]> > wrote: > > > Thanks for the reply. However, after updating to the latest SVN > > version of django. The same error still occurs. :( > > I am using the same

Re: Problems saving values from SelectDateWidget

2007-12-05 Thread Stupid Dustbin
Thanks for the reply. However, after updating to the latest SVN version of django. The same error still occurs. :( On Dec 1, 12:17 am, RajeshD <[EMAIL PROTECTED]> wrote: > On Nov 29, 4:51 am, Stupid Dustbin <[EMAIL PROTECTED]> > wrote: > > > Hi, enc

Problems saving values from SelectDateWidget

2007-11-29 Thread Stupid Dustbin
Hi, encountered a problem recently with SelectDateWidget. I'm not very sure what I did wrong. from django.newforms.extras.widgets import SelectDateWidget #other imports class JustAForm(forms.Form): date_of_birth = forms.DateField(label = 'date of birth',widget = SelectDateWidget(years = rang

django registration (sending email and activation of account)

2007-11-12 Thread Stupid Dustbin
Hi, I'm pretty new to django and python and currently I'm trying to learn how to use django-registration and I faces some problems Firstly, I realise my emails are actually not sent out to people who sign up. At first I got a "non local email relay not permitted" message when i submit my registra

Problems with ImageField

2007-11-06 Thread Stupid Dustbin
Hi, recently I decide to try out the ImageField but it gives me some problems. in my models it is image = models.ImageField(upload_to='/toy_images/') in my settings.py here are my media settings MEDIA_ROOT = '/media/' MEDIA_URL = MEDIA_URL = 'http://localhost:8000/media/' ADMIN_MEDIA_PREFIX

Problems with ImageField

2007-11-06 Thread Stupid Dustbin
Hi, recently I decide to try out the ImageField but it gives me some problems. in my models it is image = models.ImageField(upload_to='/toy_images/') in my settings.py here are my media settings MEDIA_ROOT = '/media/' MEDIA_URL = MEDIA_URL = 'http://localhost:8000/media/' ADMIN_MEDIA_PREFIX

MEDIA_ROOT, MEDIA_URL, ADMIN_MEDIA_PREFIX? Differences?

2007-10-31 Thread Stupid Dustbin
Hi, I'm new to django and there is something that is confusing me about the differences between MEDIA_ROOT MEDIA_URL ADMIN_MEDIA_PREFIX from what I read so far, media_root seem to be the folder that django upload media files to. however for MEDIA_URL seem to be something like url/and ADMIN_ME