Re: Form as table

2008-02-20 Thread Justin Lilly
You're looking for newforms. Here are some links to check out. http://www.b-list.org/weblog/2007/nov/22/newforms/ http://www.b-list.org/weblog/2007/nov/23/newforms/ http://www.djangoproject.com/documentation/newforms/ -justin On Wed, Feb 20, 2008 at 6:44 PM, Django-fan <[EMAIL PROTECTED]> wrote:

Re: Django hosting service running Os C

2008-02-20 Thread Joseph Heck
For something as specific as MacOS X based hosting, that's a damn good price. -joe On Mon, Feb 18, 2008 at 7:35 AM, Dj Gilcrease <[EMAIL PROTECTED]> wrote: > > On Feb 17, 2008 3:12 PM, Flavio Curella <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I developed a small application using django

Re: How/where do you add middleware (was: empty PATH_INFO with LiteSpeed / FastCGI)

2008-02-20 Thread Joseph Heck
Austin, There's an excellent overview of the how's and why's of Middleware at http://www.djangoproject.com/documentation/middleware/ Fundamentally, you're just specifying a class that you've implemented somewhere. It can be in a folder or not - that's just matching python's module structure to t

Re: include in QuerySet

2008-02-20 Thread cschand
Thank you karen. It works. cschand On Feb 20, 7:04 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Feb 20, 2008 at 8:32 AM, [EMAIL PROTECTED] < > > [EMAIL PROTECTED]> wrote: > > > Sounds like you want a QNot, they work like Q: > > >http://www.djangoproject.com/documentation/db-api/#comp

Re: Authentication not applied in base template

2008-02-20 Thread quizkiwi
That is the second time RequestContext has come back to bite me, I guess I did not understand it the first time. Thanks! On Feb 20, 6:53 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Wed, Feb 20, 2008 at 5:18 PM, quizkiwi <[EMAIL PROTECTED]> wrote: > > Is there some difference in authenti

Re: problem with django tagging application

2008-02-20 Thread Brian Luft
Any chance you were using django-tagging previously and recently updated to trunk? There are backwards incompatible changes - the relation names have changed: http://code.google.com/p/django-tagging/wiki/BackwardsIncompatibleChanges -Brian On Feb 20, 4:25 pm, cesco <[EMAIL PROTECTED]> wrote: >

Re: problem with django tagging application

2008-02-20 Thread Malcolm Tredinnick
On Wed, 2008-02-20 at 16:25 -0800, cesco wrote: > Hi, > > I'm using the latest version of the django tagging application (rev. > 132) and I'm having problems with the get_by_model method of the > TaggedItem manager. > > Say I have a QuerySet1 generated as follow: > QuerySet1 = TaggedItem.object

ANN: builder.py v0.5.1 (builds Windows Installers for Django projects)

2008-02-20 Thread srackham
builder.py automates the creation of stand-alone Windows installers for Django projects. Documentation and download here: http://www.methods.co.nz/builder/index.html Cheers, Stuart -- Stuart Rackham --~--~-~--~~~---~--~~ You received this message because you are

www.200836.com tell you Beijing/peking2008 Summer Olympic Games Taekwondo

2008-02-20 Thread allen200836
$www.200836.com--- why we buy Peking 2008 Olympic Games-- souvenirs 1 low price 2 best quality-- licensed products by Peking Organizing Committee 3 many products to choose 4 most precious--limited circulation if you want to know any information about 2008 beijing Olympic games ,pleas

Re: newforms-admin: howto define custom ModelForm for usage in admin interface

2008-02-20 Thread Julien
I believe that customizing forms (validation, widgets, etc.) will become much easier when the newforms-admin branch [1] is merged to the trunk. In the meantime I recommend you to have a look at that branch, see if it works for you. [1] http://code.djangoproject.com/wiki/NewformsAdminBranch On Fe

problem with django tagging application

2008-02-20 Thread cesco
Hi, I'm using the latest version of the django tagging application (rev. 132) and I'm having problems with the get_by_model method of the TaggedItem manager. Say I have a QuerySet1 generated as follow: QuerySet1 = TaggedItem.objects.get_by_model(MyModel, 'tag1') and a QuerySet2 generated as foll

Re: Authentication not applied in base template

2008-02-20 Thread James Bennett
On Wed, Feb 20, 2008 at 5:18 PM, quizkiwi <[EMAIL PROTECTED]> wrote: > Is there some difference in authentication between the app and the > main site? http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext -- "Bureaucrat Conrad, you are technically co

Form as table

2008-02-20 Thread Django-fan
Hi All, Is there a way in Django to generate webforms from a simple Database table so that we can "submit" the user inputs to update a database table. In other words, I would like to create a webform on an existing database table. Thanks in advance --~--~-~--~~~---~--

Re: How to return Admin to previous filters after save?

2008-02-20 Thread Nathaniel Whiteinge
On Feb 19, 7:08 pm, cyberjack <[EMAIL PROTECTED]> wrote: > Thanks for the suggestion, but there has got to be a simple way to > solve this problem. Does anyone else have an idea for solving this > problem? It's just a regular Django view that's doing the work here. Take a look at the `change_stag

Authentication not applied in base template

2008-02-20 Thread quizkiwi
I have a base template that checks whether a user is authenticated or not: If so: display "Hello Username, Logout" If not: display "Login" It works great until I click a link which will bring me into one of the apps that I have setup. The app extends the base template, and only adds to the main

Re: Pluralize names in admin interface

2008-02-20 Thread Russell Keith-Magee
On Thu, Feb 21, 2008 at 7:01 AM, Marcelo Barbero <[EMAIL PROTECTED]> wrote: > > Hi. I would know how to pluralize the names of the tables that appear > in the admin interface. > Being a Spanish speaker, lots of words make their plural with "es", > instead of "s". > I'm using development versi

Re: newforms-admin: howto define custom ModelForm for usage in admin interface

2008-02-20 Thread presclark
Hello, I was having a similar, but slightly different problem. My hangup was that the form_change form wasn't being populated. It seems that the optional 'form' parameter for form_for_(model/instance) should probably be a subclass of newforms.BaseForm, and not of newforms.ModelForm. see http://c