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
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
>
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
3 matches
Mail list logo