Re: I want to start a django project for a forum

2005-10-31 Thread Jeffrey E. Forcier
On Oct 31, 2005, at 8:14 PM, Ian Holsman wrote: 1. promote django Always a good thing :) 2. latest security patch for phpBB was just announced 3. and I think the world does need a alternative designed with security in mind from the start. On reflection, I definitely overlooked this--if s

Re: Tag Library questions

2005-10-31 Thread rockmh
Thanks. That solved the missing taglib problem, but still the blog is not working. I am guessing that I have to actually install the comments app. Yup. Running "django-admin.py install comments" did the trick! I will post a link to my blog after a bit of testing and dressing up the appearance.

Re: I want to start a django project for a forum

2005-10-31 Thread Luke Plant
On Tue, 1 Nov 2005 11:16:14 +1100 Ian Holsman wrote: > > is anyone else interested in joining? I was thinking of similar to > what phpBB does. > > If so I propose we open up a sourceforge project, or perhaps we could > even host it on code.djangoproject.com if they let us ;-) > > any volunteer

Re: I want to start a django project for a forum

2005-10-31 Thread Adrian Holovaty
On 10/31/05, Ian Holsman <[EMAIL PROTECTED]> wrote: > is anyone else interested in joining? I was thinking of similar to > what phpBB does. > > If so I propose we open up a sourceforge project, or perhaps we could > even host it on code.djangoproject.com if they let us ;-) I'd be happy to help! N

Re: I want to start a django project for a forum

2005-10-31 Thread Ian Holsman
basic reason on why I brought this up now. 1. promote django 2. latest security patch for phpBB was just announced 3. and I think the world does need a alternative designed with security in mind from the start. 4. lack of non-PHP solutions. I know of several people who refuse to put php code on

Re: I want to start a django project for a forum

2005-10-31 Thread Jeffrey E. Forcier
I might be interested (rolled my own phpBB/AcmlmBoard/etc/etc-like forum in PHP about five years ago, only got about 75% done but it was still fun) but I, and probably others, might want to know more about what you have in mind before we join up. Such as: why do we need yet another forum?

Re: I want to start a django project for a forum

2005-10-31 Thread Robert Wittams
Ian Holsman wrote: > is anyone else interested in joining? I was thinking of similar to > what phpBB does. > > If so I propose we open up a sourceforge project, or perhaps we could > even host it on code.djangoproject.com if they let us ;-) > > any volunteers? > > regards > Ian > > -- > [EMAIL

I want to start a django project for a forum

2005-10-31 Thread Ian Holsman
is anyone else interested in joining? I was thinking of similar to what phpBB does. If so I propose we open up a sourceforge project, or perhaps we could even host it on code.djangoproject.com if they let us ;-) any volunteers? regards Ian -- [EMAIL PROTECTED] -- ++61-3-9877-0909 If everything

Re: NullBooleanField & default=Unknown & Unknown not acceptable: how to do it?

2005-10-31 Thread Adrian Holovaty
On 10/31/05, Emanuele <[EMAIL PROTECTED]> wrote: > I still don't understand where solution 1 avoids '' as a possible > choice by the user, but anyway it's time for me to study validators: > solution 2 seems perfect. Let's do it tomorrow, here it's late in the > night :) Solution 1 avoids "---

Re: NullBooleanField & default=Unknown & Unknown not acceptable: how to do it?

2005-10-31 Thread Emanuele
Wow! Thank you very much Adrian! I still don't understand where solution 1 avoids '' as a possible choice by the user, but anyway it's time for me to study validators: solution 2 seems perfect. Let's do it tomorrow, here it's late in the night :) Emanuele

CharField with primary_key=True: a possible bug?

2005-10-31 Thread Emanuele
Hi, as far as I read from django documentation "primary_key=True implies blank=False, null=False and unique=True". But if I have a CharField with primary_key=True it is still possible to enter an empty string (no complaints in admin interface). The same happens if you explicitly say "blank=False".

Re: NullBooleanField & default=Unknown & Unknown not acceptable: how to do it?

2005-10-31 Thread Adrian Holovaty
On 10/31/05, Emanuele <[EMAIL PROTECTED]> wrote: > OK, but using "Unknown" was just a trick. The real problem is: how to > _force_ the user to _choose_ between Yes and No avoiding a default > value? A BooleanField shows a checkbox in admin interface: if you don't > specify a default value and if y

Re: NullBooleanField & default=Unknown & Unknown not acceptable: how to do it?

2005-10-31 Thread Emanuele
OK, but using "Unknown" was just a trick. The real problem is: how to _force_ the user to _choose_ between Yes and No avoiding a default value? A BooleanField shows a checkbox in admin interface: if you don't specify a default value and if you don't click on the box, it returns 'False'. So a defau

Auth questions of newbie

2005-10-31 Thread Grigory Fateyev
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 objects, etc.) must be accessible _only_ for register users. If it possible, can somebo

Re: Problems with Admin interface and one-to-one rels

2005-10-31 Thread Dado
There are too many to list them all, it seems to me that one-to-one rels are broken in the admin. Anyway, as an example, and starting with a fresh database, I go to the admin and start adding a restaurant. I press the "plus" image by the ID field to add the corresponding place, a popup appears, I

Re: NullBooleanField & default=Unknown & Unknown not acceptable: how to do it?

2005-10-31 Thread Adrian Holovaty
On 10/28/05, Emanuele <[EMAIL PROTECTED]> wrote: > using django automatic admin interface I need to show a select-box with > "True", "False" and "Unknown" values for a certain field of an object. > NullBooleanField is the natural choice as type of that field, but I > want to add a constraint and a

Re: Problems with Admin interface and one-to-one rels

2005-10-31 Thread Adrian Holovaty
On 10/30/05, Dado <[EMAIL PROTECTED]> wrote: > When I added the admin interface via "class META: admin = meta.Admin()" > to the models as described in > I > cannot get the Admin interface to work properly with these models. I > either

Re: flatpages and templates

2005-10-31 Thread Adrian Holovaty
On 10/31/05, Alice <[EMAIL PROTECTED]> wrote: > Is it better to have a flatfile with no 'content' and an associated > template with the actual content or to put the content in the 'content' > box? > > Is the 'content' box just for small pages that don't deserve their own > actual file? It's alway

flatpages and templates

2005-10-31 Thread Alice
just a question about style: Is it better to have a flatfile with no 'content' and an associated template with the actual content or to put the content in the 'content' box? Is the 'content' box just for small pages that don't deserve their own actual file? I get hung up on these things - curre

Re: Tag Library questions

2005-10-31 Thread Richie Hindle
[Rock] > (I read up on tag libraries and the docs say that the admin tool can be > used to browse through the available tags, filters, models, views. > Neat! But my version of admin seems to have nothing like the "built-in > reference" that is discussed. What needs to be done to activate this > f

Re: Tag Library questions

2005-10-31 Thread Jacob Kaplan-Moss
On Oct 31, 2005, at 7:30 AM, rockmh wrote: I downloaded and installed the blog app from the django_website area. However the main view is failing since tag library comments.comments is not found. You need to make sure that "django.contrib.comments" is in your INSTALLED_APPS. Jacob

Tag Library questions

2005-10-31 Thread rockmh
I downloaded and installed the blog app from the django_website area. However the main view is failing since tag library comments.comments is not found. Has anyone encountered this also? What am I missing? Where should this tag library be installed and what should it be called? (I downloaded the