I'v made a easiest and simplest tutorial, just want the study work can
be from scratch but not a big one, I hope this will be helpful. This
tutorial will only aim to create a "Hello, django!" page, there will
be no more things except it. So there is almost nothings in it, but it
can be run in djan
2005/12/27, Tom Tobin <[EMAIL PROTECTED]>:
>
> On 12/27/05, reiale <[EMAIL PROTECTED]> wrote:
> >
> > Does Django sound right for this project?
>
> I don't know; I couldn't tell which of the dozen of your
> (accidentally, I assume) copy-and-pasted sections of your email to
> read. :-p
>
maybe it
On 12/27/05, reiale <[EMAIL PROTECTED]> wrote:
>
> Does Django sound right for this project?
I don't know; I couldn't tell which of the dozen of your
(accidentally, I assume) copy-and-pasted sections of your email to
read. :-p
I am starting a new project in Python and have set out to create some
high level metadata that maps some XML like this:
1
2
2005/12/27, James Bennett <[EMAIL PROTECTED]>:
>
> On 12/26/05, limodou <[EMAIL PROTECTED]> wrote:
> > May be sqlite can do like that, but other databases can not just
> > remove the database file. And this appoach will destroy all the
> > tables, but what I want may be just a single app, not the
On 12/26/05, limodou <[EMAIL PROTECTED]> wrote:
> May be sqlite can do like that, but other databases can not just
> remove the database file. And this appoach will destroy all the
> tables, but what I want may be just a single app, not the whole
> project. So if there is not a "reinstall"(or rein
2005/12/27, James Bennett <[EMAIL PROTECTED]>:
>
> On 12/26/05, limodou <[EMAIL PROTECTED]> wrote:
> > I suggest that there may be a admin command just like: django-admin.py
> > reinstall app
> > to do the things like: django-admin.py sqlreset appname | psql dbname
> >
> > I think this will be hel
On 12/26/05, limodou <[EMAIL PROTECTED]> wrote:
> I suggest that there may be a admin command just like: django-admin.py
> reinstall app
> to do the things like: django-admin.py sqlreset appname | psql dbname
>
> I think this will be helpful in developing period.
I'd be against it, just because I
2005/12/27, quentinsf <[EMAIL PROTECTED]>:
>
> There's also some stuff here:
>
> http://code.djangoproject.com/wiki/DocumentationSuggestions
>
I suggest that there may be a admin command just like: django-admin.py
reinstall app
to do the things like: django-admin.py sqlreset appname | psql dbname
I'm building a site where some users will be registered, and allowed to
do lots of things, and some will be identified, and able to do fewer
things, but not required to register (by which I mean not required to
create a password etc - They will be invited to the site by others, and
sent URLs by e
There's also some stuff here:
http://code.djangoproject.com/wiki/DocumentationSuggestions
Quentin
Hi,_manipulator_validate_ is not used in the admin interface when editing an object inline?Below the model being used.When Property is edited inline with Item, _manipulator_validate_value is not used.When Property is edited by itself, _manipulator_validate_value is used normaly.Wietze.class Item(me
[EMAIL PROTECTED] wrote:
> Hi!
>
> After reading tutorial about Django, try to write simple app. App
> contain only one model:
> class PressureRecord(meta.Model):
> record_date = meta.DateField()
> record_time = meta.TimeField()
> sys_press = meta.IntegerField()
> dia_press = meta
> I get the following error. 'WorkOrder' object has not attribute
> 'get_values'. Any ideas?
Try this:
def _pre_save(self):
lastid = get_values(fields=['id'])[-1]['id']
self.wonum = 'WO-'+lastid+1
Andreas
Hello:
I'm having a problem trying to convert something that works great on
the python interpreter into the model.
I need to set a property of a model before it is saved. This propery
is dependent on the primary key (serial) of the record. I tried first
to do it using _post_save() but the i
15 matches
Mail list logo