flatpages and menu

2010-08-24 Thread OliverMarchand
Dear all, I am thinking of creating a website that displays "mostly" database content, but for special content I am using flatpages. Now somehow I must put a link to the flatpages somewhere, most likely in a menu. If I put the menu in my base template, then there is no way to insert this link by

Slow edit_inline admin forms

2008-09-11 Thread OliverMarchand
Dear all, we are experiencing rather slow edit_inline admin forms, especially, when the inlined models contain foreign keys to "large tables" for which the select boxes must fetch *all* the tables data to be able to evaluate the __unicode__ method for each instance of the model. * Are you

Security question

2008-09-11 Thread OliverMarchand
Dear all, we are using Django as an application server. Now we want our website server to be able to read from (and eventually write to) that application server. Now the security question arises. The proposal is to have - the webserver in a DMZ 1 - the Django application server in a DMZ 2 - our

list_filter with select

2008-06-27 Thread OliverMarchand
Hello, When a field that is contained in the admin list_filter has a lot of different values, the list may become too long to be used. Has anyone ever written a modification of the admin change_list.html to enable dropdown select widgets for the filter values instead of all values written out?

Re: default value for filter in admin pages

2008-06-26 Thread OliverMarchand
This is just an idea... didn't try this. Could you not use HttpRedirect in your url conf to redirect the standard view of that models admin with the default filter value? This is not the most convenient way, but it should work... On 26 Jun., 14:25, lee <[EMAIL PROTECTED]> wrote: > Guys, > > Is

intercepting template admin/base_site.html

2008-06-25 Thread OliverMarchand
Hello, I want to customize my admin interface. For that I know I can create my *own* template admin/base_site.html. What I should really do is derive this from the *admins* base_site.html template. >From my understanding, I am intercepting the base_site.html template. But how do I specify the

2nd Swiss Django User group meeting (5.Dez/19:00h/FAM)

2007-11-22 Thread OliverMarchand
To all Swiss Django users: We will hold the 2nd Swiss Django User group meeting Where: Fisch Asset Management AG, Bellerive 241, CH-8034 Zürich (next to Bahnhof Tiefenbrunnen) When: Wednesday Dec 5th., starting at 19:00h Topics: - Demo of extending the admin screen to allow list

Re: German django forum

2007-11-14 Thread OliverMarchand
Danke Jan! Ich mach mit. CU, Oliver On 13 Nov., 20:57, Jan Meier <[EMAIL PROTECTED]> wrote: > Hi, > > there is a new Forum for django help/support in german, if you speak german > check it out: > > http://www.django-resource.de/ > > See you there, > > Jan

Exposing Django to a Java Client

2007-11-13 Thread OliverMarchand
Dear Django Users, Some while ago in May Brian Corrigan mentioned the following solution to exposing Django to an outside application to me. On May 24, 12:32 pm, brian corrigan <[EMAIL PROTECTED]> wrote: > We have used Django along side Java applications by using Jython and > HTTP requests from

admin functionality outside of admin screen

2007-09-22 Thread OliverMarchand
Hello, so now I have spent some time with Django and after the "WOW! the models and the admin interface so cool!"-phase I am now in a "somehow things are complicated for me..."-phase. Here is what I did: * defined a few models * used the admin screen * defined a few views Now my idea was of

new field types

2007-09-21 Thread OliverMarchand
Dear Django Users, I have a newbie queston about extending Djangos Field Types. Obviously the Django field types provide more semantics than the basic database datatypes. Thus I assume that whenever there is a new type of field which does not fit in the given categories, it is a good idea to

subclassing of models

2007-05-23 Thread OliverMarchand
Dear Djangos, Is it possible to subclass a model? This example somehow doesn't work for in the sense that I only see the geography on the admin screen. from django.db import models class Geography(models.Model): name = models.CharField(maxlength=30) def __str__(self):

Generell Questions on Django

2007-05-23 Thread OliverMarchand
Hi, I am new to Django (4+years Python experience) and would like to evaluate for my financial company whether Django may be a good solution to our problem of designing our applications all a-z from scratch. Now my colleagues first reaction was very defensive: a) that's for websites, not serious