Django Admin page says a ForeignKey("self", null=True) field is required

2007-09-13 Thread Martin Taylor
I've created a very simple Django app to model a tree (like a file system directory tree). Here's the model.py file: from django.db import models # # Define constants used to control sizes of DB fields # MAX_NAME = 100 # Maximum size of an object's Name field # # Create your models here. # cla

Re: Django Admin page says a ForeignKey("self", null=True) field is required

2007-09-13 Thread Martin Taylor
ank=True, verbose_name="ParentFolder") On Sep 13, 4:32 pm, Martin Taylor <[EMAIL PROTECTED]> wrote: > I've created a very simple Django app to model a tree (like a file > system directory tree). Here's the model.py file: > > from django.db import models >

Django application using ORM only

2007-09-20 Thread Martin Taylor
Although Django's web side is nice, and I like the "free" Admin interface, what I really want to use Django for is its data model ORM and resulting "free" API. I want to use this to build a stand-alone Python application, using wxWidget for more sophisticated UI than I can get on a web page. I'v