Re: Django throws ImproperlyConfigured error when loading URLconf on startup

2014-01-02 Thread Ahmed Khan
Any progress on this? Does anyone know the causes? On Sunday, June 23, 2013 2:55:16 PM UTC+5, Pratik Mandrekar wrote: > > Has anyone been able to resolve this? > > I am facing the same issue. > > On Sunday, March 24, 2013 8:46:26 PM UTC+5:30, Dan Gentry wrote: >> >> Andrei, I once received this er

Django GenericRelation not working

2014-01-02 Thread arthur . muchir
I have the following model in my app, using the content-type django framework in version 1.6.1 : class GenericMedia(models.Model): limit = models.Q(model = 'Image') | models.Q(model = 'Video') | models.Q(model = 'Other') content_type= models.ForeignKey(ContentType, limit_ch

How to approach this problem?

2014-01-02 Thread César García Tapia
I'm trying to solve a problem, but I have no idea how to face it. I need some help :-) I have a model hierarchy like this: class Task(models.Model): name = models.CharField(max_length=255) number_of_steps = models.IntegerField() class StepGroup(models.Model): tas

django 1.6 When creating superuser in cmd.exe, why ask a password for three times?

2014-01-02 Thread 项楠
django 1.6.1,python 3.3.3, windows 8. I choose Substituting a custom User model, and everything is ok except creating superuser at the beginning: [image: enter image description here] As you can see, django ask

Re: django 1.6 When creating superuser in cmd.exe, why ask a password for three times?

2014-01-02 Thread Russell Keith-Magee
Hi, I can't check your source code (I haven't got a baidu account, which appears to be a requirement for downloading the zip file you've provided), but you should only be asked for your password twice. My guess is that you've included "password" in your list of REQUIRED_FIELDS. REQUIRED_FIELDS on

Re: django 1.6 When creating superuser in cmd.exe, why ask a password for three times?

2014-01-02 Thread 项楠
It worked. Thank you. BTW, could you recommend a site for sharing files not requiring an account? 在 2014年1月3日星期五UTC+8上午9时28分57秒,Russell Keith-Magee写道: > > Hi, > > I can't check your source code (I haven't got a baidu account, which > appears to be a requirement for downloading the zip file you'v

Re: django 1.6 When creating superuser in cmd.exe, why ask a password for three times?

2014-01-02 Thread Russell Keith-Magee
Glad to hear you could solve your problem. As for sharing files without needing an account; two options I can think of: 1) Github Gists (https://gist.github.com) are useful for sharing a small number of files, especially source code. You can also update the files, keep track of versions, receive

Re: django 1.6 When creating superuser in cmd.exe, why ask a password for three times?

2014-01-02 Thread 项楠
Thank you :-) again. 在 2014年1月3日星期五UTC+8上午10时30分01秒,Russell Keith-Magee写道: > > Glad to hear you could solve your problem. > > As for sharing files without needing an account; two options I can think > of: > > 1) Github Gists (https://gist.github.com) are useful for sharing a small > number of f

Runserver Error (Exceptions) in Latest Django Dev Version with Python 3.3

2014-01-02 Thread Noah Fang
Django newbie here. I just checked out and installed the latest dev version as instructed and created a project, but when trying to "python manage.py runserver", it gives the following error message. Anyone has any clue? Huge thanks! $ python manage.py runserver Traceback (most recent call last

NameError "SignUpAdmin"

2014-01-02 Thread Eddie29
Hi Guys, I am really new to Django and Python. I have recently started learning them from a course on Udemy and I got stuck on the first example, making a web app. I'm not sure what I have done wrong but when I run my Django server it comes up with a NameError. I think the app is supposed to ha

Re: NameError "SignUpAdmin"

2014-01-02 Thread Thomas Lockhart
On 1/2/14 7:02 PM, Eddie29 wrote: Hi Guys, I am really new to Django and Python. I have recently started learning them from a course on Udemy and I got stuck on the first example, making a web app. I'm not sure what I have done wrong but when I run my Django server it comes up with a NameError

Re: Runserver Error (Exceptions) in Latest Django Dev Version with Python 3.3

2014-01-02 Thread Russell Keith-Magee
On Fri, Jan 3, 2014 at 9:32 AM, Noah Fang wrote: > Django newbie here. I just checked out and installed the latest dev > version as instructed and created a project, but when trying to "python > manage.py runserver", it gives the following error message. > > Anyone has any clue? Huge thanks! > >