On 11/2/05, Jeffrey E. Forcier <[EMAIL PROTECTED]> wrote:
>
> On Nov 2, 2005, at 10:42 AM, Joey Coleman wrote:
>
> from django.models.myapp import categories
> category_names = [ c.category_name | c in categories.get_list() ]
>
> Surely you mean [c.category_name for c in categories.get_l
I spent some time today working on the Django article in Wikipedia,
trying to clean it up and flesh it out a bit, and was wondering
whether there are any rules for use of the Django logo (which would be
nice to include in the article). Would it be acceptable, for example,
to edit one of the "power
I'm using django 1062 with python 2.4 and getting a strange error.
When starting up it looks OK:
django-admin runserver --settings=ttime.settings
Validating models...
0 errors found.
Starting server on port 8000 with settings module 'ttime.settings'.
Go to http://127.0.0.1:8000/ for Django.
Quit
On Nov 3, 2005, at 6:04 AM, stava wrote:
Now, when I save my model file (which causes runserver to reload the
model) I get the following:
[snip]
Yeah, this is a known bug in the auto-reload stuff (or in the
runserver command) -- see http://code.djangoproject.com/ticket/698.
It's been left
OK, not scared anymore, thanks.
/stava
I'm thinking of using a model for a database view (for convinience). Is
there anyway one could set anything int the META of a model to tell it
*not* to create a database table when doing a "django-admin sqlreset",
or do I have to manually filter out the "create table..." statement?
/stava
On Nov 3, 2005, at 7:41 AM, stava wrote:
I'm thinking of using a model for a database view (for
convinience). Is
there anyway one could set anything int the META of a model to tell it
*not* to create a database table when doing a "django-admin sqlreset",
or do I have to manually filter out the
On 10/24/05, cmars232 <[EMAIL PROTECTED]> wrote:
> If I define a model with foreign keys, use MySQL/MyISAM as a backend,
> and delete a referenced object, does django implement a "cascade on
> delete" to clean up child objects, or do I need to manually clean up
> the child objects?
Yes, if you us
On 11/3/05, Ian Holsman <[EMAIL PROTECTED]> wrote:
>
> Hi Luke.
>
> my aim is not to do a drop-in replacement for a phpBB. but more for
> integrating discussions into other parts of applications, and to do
> this I think it needs to in django.
>
> I have got a wiki page up, http://wiki.zilbo.com/F
On 11/3/05, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On Nov 3, 2005, at 6:04 AM, stava wrote:
> > Now, when I save my model file (which causes runserver to reload the
> > model) I get the following:
> [snip]
>
> Yeah, this is a known bug in the auto-reload stuff (or in the
> runserver comm
I'm trying to use the manipulator framework to generate a multi-part
form. It's for an online shopping engine where the customer goes
through a few steps entering their shipping and credit card info, etc.
Anyways, I created some model classes, eg ContactInfo (phone #, email,
etc), Address and Cr
On 11/3/05, Waylan Limberg <[EMAIL PROTECTED]> wrote:
> This wouln't happen to be related to the similar error I get when I
> hit control-c to quit the server would it? Everything seems to work
> fine, and the server does quite after displaying the message, but it
> is a little unnerving.
Yup, it
On 11/3/05, Kevin <[EMAIL PROTECTED]> wrote:
> Unfortunately,
> it seems the only method available in the Manipulator framework is
> save() and that stores the variable first in the database. Is there a
> way to convert the form data into django Model objects without saving
> them to the db?
The
I would like to volunteer to help wherever I can.
-ian
On 11/3/05, Waylan Limberg <[EMAIL PROTECTED]> wrote:
>
> On 11/3/05, Ian Holsman <[EMAIL PROTECTED]> wrote:
> >
> > Hi Luke.
> >
> > my aim is not to do a drop-in replacement for a phpBB. but more for
> > integrating discussions into other p
The base class, Manipulator, just throws a NotImplementedException for
it's save() method. Is there a more concrete example I can view to see
how to override storing to the database.
PS. I'm converting an existing PHP site to django, it's so nice having
all these validation/admin stuff just "ta
Hi,
how can I know the parameters that the admin interface is using when I
apply a filter or I do a search? I want to use those parameters in a
custom method. Is it possible to do it? Thanks.
I've got it on my list to prep some logos for distribution and
external use, as well writing a simple logo usage policy. In the
meantime, using the logo to reference or link to the Django site is
well within fair use.
In the meantime, I went ahead and uploaded the logo to Wikipedia with
a fair us
In the many to one relationship example
(http://www.djangoproject.com/documentation/models/many_to_one/) the
Article model defines a foreign key relationship with the Reporter
model. One commenter asks if it would be possible to do a lookup like
this:
reporters.get_list(article__pub_date__exact=
On 11/3/05, Mauro Sánchez <[EMAIL PROTECTED]> wrote:
> how can I know the parameters that the admin interface is using when I
> apply a filter or I do a search? I want to use those parameters in a
> custom method. Is it possible to do it? Thanks.
Take a look at the URL of an admin change-list pag
On 11/3/05, eas <[EMAIL PROTECTED]> wrote:
> class Thing(meta.Model):
> name = meta.CharField(maxlength=100)
>
> class Person(meta.Model):
> zipcode = meta.CharField(blank=True, maxlength=5)
> nickname = meta.CharField(maxlength=100)
>
> class Connection(meta.Model):
> blog = meta.
2005/11/3, Adrian Holovaty <[EMAIL PROTECTED]>:
> Take a look at the URL of an admin change-list page after you've
> applied a filter or done a search. The query parameters are,
> essentially, the same as keyword arguments that can be passed to
> get_list().
>
Ok, I get that. But, can I load those
Hi,
I've searched the groups, but can't seem to find anything regarding
this oddity. I've a URL of /media ( http://localhost/media, for
example ), and when I browse to it, I get presented with this message:
Permission denied:
/Library/Python/2.3/site-packages/django-1.0.0-py2.3.egg/django/contr
Hi,
I've searched the groups, but can't seem to find anything regarding
this oddity. I've a URL of /media ( http://localhost/media, for
example ), and when I browse to it, I get presented with this message:
Permission denied:
/Library/Python/2.3/site-packages/django-1.0.0-py2.3.egg/django/contr
On 11/3/05, Mauro Sánchez <[EMAIL PROTECTED]> wrote:
> > Take a look at the URL of an admin change-list page after you've
> > applied a filter or done a search. The query parameters are,
> > essentially, the same as keyword arguments that can be passed to
> > get_list().
> >
> Ok, I get that. But,
On Friday 04 Nov 2005 3:43 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I've searched the groups, but can't seem to find anything regarding
> this oddity. I've a URL of /media ( http://localhost/media, for
> example ), and when I browse to it, I get presented with this
> message:
>
> Permission denied:
25 matches
Mail list logo