On Wednesday 02 Nov 2005 5:16 pm, Kenneth Gonsalves wrote:
> On Wednesday 02 Nov 2005 5:03 pm, Marcos Sánchez Provencio wrote:
> > Is 127.0.0.1 not localhost? Can you explain that? The 127.X.X.X net
> > _is_ localhost by IP specs, I thought.
>
> this is running in a freebsd jail - 'localhost' will
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/ForumDesign (yes it
took me this long to get the silly thing runni
hello gregory,
ticket is #714.
bye,
Flavio
CONTENTS:
** EVENTS ** EUROPE **
** BOOKS **
** EVENTS ** USA **
** CALL FOR SPEAKERS ** EUROPE
** CALL FOR SPEAKERS ** USA
** HUMOUR **
** OTHER INFORMATION - MAGAZINES, WHITEPAPERS ... **
** EVENTS ** EUROPE **
**
Enterprise Architect Confe
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_list() ] ?? :)
--
Jeffrey E. Forcier
Junior Developer, Research and Developm
On 11/2/05, Grigory Fateyev <[EMAIL PROTECTED]> wrote:
>
> Hello!
>
> I have myapp model:
>
> class Category(meta.Model):
> category_name = meta.CharField(maxlength=30)
> category_image = meta.ImageField(upload_to="/var/www/html/media")
>
> class Article(meta.Model):
> cate
Got it. Thanks Adrian.
Armin
Hello Grigory Fateyev!
On Mon, 31 Oct 2005 20:49:57 +0300 you wrote:
>
> Hello, django-users!
>
> I have some general questions about auth of django. Sorry if my
> questions would seeming stupid.
>
> I'd like to do site authentication w/ sessions for users, some page of
> site (like add some o
Hello!
I have myapp model:
class Category(meta.Model):
category_name = meta.CharField(maxlength=30)
category_image = meta.ImageField(upload_to="/var/www/html/media")
class Article(meta.Model):
category_name = meta.ForeignKey(Category)
How to get list of category_name fr
On 11/2/05, Stefan H. Holek <[EMAIL PROTECTED]> wrote:
> mymodule.get_list(_or=[[('from__icontains', 'armin'),
> ('to__icontains', 'armin')]])
This "_or" syntax is undocumented and is going away in the future! Don't use it!
See http://code.djangoproject.com/ticket/251 for the probable replacemen
Ignore my prev. comment. A stupid error. The code works just
seamlessly. Fantastic.
Thanks again,
Armin
Thanks Stefan,
I am grateful that the feature is there and I don't quite have to get
my hands dirty with sql. My program didn't like the above code much
though somehow. I'll share the error in hope of getting some insights.
Thanks again. -armin
There's been an error:
Traceback (most recent call
>mymodule.get_list(_or=[[('from__icontains', 'armin'),
>('to__icontains', 'armin')]])
Wow. And I thought I knew all about the django query API :-)
Hey, that's actually quite helpfull for my search engine stuff, as I
can reduce the code a bit with that. Only thing left would be a
icontainsnot que
Hello Flavio Curella!
On Tue, 01 Nov 2005 16:45:08 -0800 you wrote:
>
> thanks Hugo.
>
> I think this is a common case: I (and peraphs many people) prefer
> django to other frameworks because of its admin application: half a
> work is already made. I think a feature like this will be very helpf
On Wednesday 02 Nov 2005 5:03 pm, Marcos Sánchez Provencio wrote:
> Is 127.0.0.1 not localhost? Can you explain that? The 127.X.X.X net
> _is_ localhost by IP specs, I thought.
this is running in a freebsd jail - 'localhost' will apply to whats
inside the jail. The postgres database is running o
Is 127.0.0.1 not localhost? Can you explain that? The 127.X.X.X net _is_
localhost by IP specs, I thought.
El mié, 02-11-2005 a las 16:28 +0530, Kenneth Gonsalves escribió:
> hi
> i have an application running on a freebsd 'jail'. The postgresql
> database is hosted on 127.0.0.1 (not localhost).
hi
i have an application running on a freebsd 'jail'. The postgresql
database is hosted on 127.0.0.1 (not localhost). My application runs
perfectly with the DATABASE_HOST = '127.0.0.1'. I have now started a
second app on the same server. When i run django-admin.py init, it is
unable to create
mymodule.get_list(_or=[[('from__icontains', 'armin'),
('to__icontains', 'armin')]])
Don't ask...
Stefan
On 2. Nov 2005, at 05:14, Armin wrote:
How can I do 'or' in Django's Database API. Something like this:
select * from message where from = 'armin' OR to = 'armin'
Thank you in advan
18 matches
Mail list logo