Re: Philosophy behind the Django admin

2007-09-08 Thread Kenneth Gonsalves
On 08-Sep-07, at 10:38 PM, Brisingman wrote: > What is the philosophy behind the Django admin app? Is is supposed to > be a quick start to a CMS, ie was the thinking that developers would > use this base code to build their custom CMS or are we to use some > other CMS? you are supposed to use

Django Flatpages With Memcache as storage location

2007-09-08 Thread Sasha Weberov
All of my flatpage pages throw a 404. If I turn debug on which disabled cacheing they re-appear. I've tried restarting memcached and my SCGI server as well as Apache and it did nothing. I've also svn'd the latest Django trunk; the problem still persists. Anyone got any idea what can possibly be

Re: Starting a Project Windows problem

2007-09-08 Thread johnnyn
I found that it will work properly if I type out the entire path. Thanks. On Sep 8, 5:06 pm, johnnyn <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm new to Django and this group. I'm mainly a mac user, but I've > installed Django on a PC too. However, when starting a new project > using

Starting a Project Windows problem

2007-09-08 Thread johnnyn
Hello all, I'm new to Django and this group. I'm mainly a mac user, but I've installed Django on a PC too. However, when starting a new project using django-admin.py startproject mysite...instead of creating a new project, django-admin.py just opens in my text editor and no project is created.

Re: How to start shell without ipython

2007-09-08 Thread Matt McClanahan
On Sep 8, 10:13 am, shabda <[EMAIL PROTECTED]> wrote: > I need to write some doctests for my app. > So I am running the interactive shell by > manage.py shell > But since ipython is already installed on my system, the i python > prompt starts and I can't just copy paste the shell output for >

Re: Philosophy behind the Django admin

2007-09-08 Thread Chris Hoeppner
This is actually outlined in the Django Book. http://www.djangobook.com/en/beta/chapter18/ Here's the relevant piece: > The Zen of Admin > > At it's core, Django's admin is designed for a single activity: > > 1 > Trusted users editing structured content. > > > Yes, extremely

How to start shell without ipython

2007-09-08 Thread shabda
I need to write some doctests for my app. So I am running the interactive shell by manage.py shell But since ipython is already installed on my system, the i python prompt starts and I can't just copy paste the shell output for creating the doctests. Is there some way I can ask the manage.py

Philosophy behind the Django admin

2007-09-08 Thread Brisingman
Hi all, What is the philosophy behind the Django admin app? Is is supposed to be a quick start to a CMS, ie was the thinking that developers would use this base code to build their custom CMS or are we to use some other CMS? If the latter, can anyone recommend a user-friendly, free, python

Re: full-text search and mediawiki markup apps

2007-09-08 Thread Useful Database
Hello friends, I recently happened to see the below information ... just thought that it could be useful to you people ... Thanks. -- *Introducing for the first time in **India**, a Product that

Re: full-text search and mediawiki markup apps

2007-09-08 Thread ringemup
Just yesterday, I was thinking how useful it would be to be able to use mediawiki markup syntax for a new project... and voila -- my prayers are answered! Thank you for putting this together! One problem... I'm getting a syntax error on import (using python 2.5): >>> import wikimarkup

Re: Capisdjango

2007-09-08 Thread Chris Hoeppner
Sure. Anyone to join me? El sáb, 08-09-2007 a las 07:32 -0500, James Bennett escribió: > On 9/8/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > > Why hasn't anyone thought of something like capistrano for django. (Yeah > > I know it can work, but there're a few features for RoR'ers). > > Lots

Re: Capisdjango

2007-09-08 Thread James Bennett
On 9/8/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > Why hasn't anyone thought of something like capistrano for django. (Yeah > I know it can work, but there're a few features for RoR'ers). Lots of people have thought of it. What they haven't done is written it. Want to be the first? ;) --

Capisdjango

2007-09-08 Thread Chris Hoeppner
I was just wondering. Consider this an "aside" or of the kind. Why hasn't anyone thought of something like capistrano for django. (Yeah I know it can work, but there're a few features for RoR'ers). --~--~-~--~~~---~--~~ You received this message because you are

Re: Multi-table lookup ... ?

2007-09-08 Thread James Bennett
On 9/8/07, dbee <[EMAIL PROTECTED]> wrote: > If I have a campaign object that has 3 groups in it. And I want to > find all the reminder objects that are in those groups ... unless of > course it's a campaign with no groups in it - in which case I'd like > all the reminders associated with that

Multi-table lookup ... ?

2007-09-08 Thread dbee
# People who need to be reminded class Reminders (models.Model): userProfile = models.ForeignKey(UserProfile) groups = models.ManyToManyField(Groups, blank=True, null=True) campaigns = models.ManyToManyField(Campaigns, blank=True, null=True) # Campaign that needs to be sent out to

Multi-table lookup ... ?

2007-09-08 Thread dbee
# People who need to be reminded class Reminders (models.Model): userProfile = models.ForeignKey(UserProfile) groups = models.ManyToManyField(Groups, blank=True, null=True) campaigns = models.ManyToManyField(Campaigns, blank=True, null=True) # Campaign that needs to be sent out to

Só falta Vc...

2007-09-08 Thread kyrios.a
http://www.kyrios.ondaoi.com.br Bom dia meu nome é ANDRÉ RIBEIRO estou enviando a todos os meus contatos a melhor oportunidade de negocio da internet que já apareceu acessem o site abaixo e vejam por vocês mesmo... Isso é uma oportunidade séria e unica como vocês jamais viram

Só falta Vc...

2007-09-08 Thread kyrios.a
http://www.kyrios.ondaoi.com.br Bom dia meu nome é ANDRÉ RIBEIRO estou enviando a todos os meus contatos a melhor oportunidade de negocio da internet que já apareceu acessem o site abaixo e vejam por vocês mesmo... Isso é uma oportunidade séria e unica como vocês jamais viram

unicode upgrade breaks non-ascii content

2007-09-08 Thread Kenneth Gonsalves
hi, this is not a bug report, because unicode upgrade is not backwardly compatible. When i did the upgrade, the finnish data in the site had problems rendering. Fortunately only one or alphabets were affected. For example: Jarske-Sjöstedt became Jarske-Sjöstedt retypeing the correct

Re: newforms: message "this field is required" although required=False

2007-09-08 Thread patrickk
On Sep 8, 1:31 am, olivier <[EMAIL PROTECTED]> wrote: > Hi, > > > widget=forms.Select(attrs={'class': 'vSelectField'})) > > This let me think you use a javascript validator. Are you sure the > message comes from the server ? > You should try form.is_valid() or whatever. no javascript.

Re: login cookies problem[SESSION_COOKIE_DOMAIN]

2007-09-08 Thread Russell Keith-Magee
On 9/8/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > > On 08-Sep-07, at 1:23 PM, beck917 wrote: > > > Is anyone here? > > never ask questions on friday/saturday and expect immediate replies. It also helps to ask a question in such a way that people can work out what the question is.

Re: login cookies problem[SESSION_COOKIE_DOMAIN]

2007-09-08 Thread Kenneth Gonsalves
On 08-Sep-07, at 1:23 PM, beck917 wrote: > Is anyone here? never ask questions on friday/saturday and expect immediate replies. -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message

Re: login cookies problem[SESSION_COOKIE_DOMAIN]

2007-09-08 Thread beck917
Is anyone here? 2007/9/7, beck917 <[EMAIL PROTECTED]>: > > Your username and password didn't match. Please try again. > > {'username': ["Your Web browser doesn't appear to have cookies > enabled. Cookies are required for logging in."]} > -->This is the error message when I login,I had

entering sane dates in admin

2007-09-08 Thread Kenneth Gonsalves
hi, is there any quick way of entering sane dates in admin - that is d/m/ y and not y/m/d? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Form field value

2007-09-08 Thread Nathaniel Whiteinge
Your best bet is probably to use ``save(commit=False)`` [1]_ to get a Profile instance, then set the user fk and call ``save()`` again. This is the example from the newforms docs:: # Create a form instance with POST data. >>> f = AuthorForm(request.POST) # Create, but don't save the

Re: Fixtures auto-incrementing primary keys?

2007-09-08 Thread Nathaniel Whiteinge
Thanks for the replies, both. > This idea has occurred to me before, and I can see how it could be > useful, but I got caught up on one significant detail: how do you > handle references? When you specify the PK, you provide an identifier > to use as a cross reference. If this identifier no