Re: Menus and such [starting to use django]

2008-01-11 Thread Christoph Egger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 [EMAIL PROTECTED] wrote: > The best way would be to use an inclusion tag: > http://www.djangoproject.com/documentation/templates_python/#inclusion-tags > OK this seems to exactly what I need. Did not expect such an feature in the template-system.

Menus and such [starting to use django]

2008-01-11 Thread Christoph Egger
Hi I have searched the web but could not find any advice on how to write some dynamic Menu. As far as I read the django documentation an view does completely render the html page but my menu should contain links to several apps and e therefor rendered on pages of all of them. Can anyone point me

Integrating TinyMCE in django.contrib.flatpages

2008-01-12 Thread Christoph Egger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi I'm trying to use TinyMCE within flatpages. I followed the instructions given on code.djangoproject.com http://code.djangoproject.com/wiki/AddWYSIWYGEditor but TinyMCE won't show up (Tested with Opera + Konqueror + Iceweasel(Firefox)). Current

Re: Integrating TinyMCE in django.contrib.flatpages

2008-01-12 Thread Christoph Egger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Christoph Egger wrote: > Hi > > I'm trying to use TinyMCE within flatpages. I followed the instructions > given on code.djangoproject.com > > http://code.djangoproject.com/wiki/AddWYSIWYGEditor > > but TinyMCE won

Re: Inclusion-Tag + Admin

2008-01-20 Thread Christoph Egger
Christoph Egger wrote: > Hi > > I've two problems I can't solve with the documentation. > > 1. I was adviced to use Inclusion-Tags for my Menu but I can't work out >how to load the library. {% load proj.app %} doesn't work nor >{% load proj.app.m

Inclusion-Tag + Admin

2008-01-20 Thread Christoph Egger
Hi I've two problems I can't solve with the documentation. 1. I was adviced to use Inclusion-Tags for my Menu but I can't work out how to load the library. {% load proj.app %} doesn't work nor {% load proj.app.mytags %} 'proj.app.mytags' is not a valid tag library: Could not load templ

Re: Inclusion-Tag + Admin

2008-01-20 Thread Christoph Egger
Christoph Egger wrote: > Christoph Egger wrote: [..] > > Well sorry for asking to early. These things seem to be solved by > creating a File templatetags.py in the appropriate app and adding a > __str__() Function to the models. > > But now there is an > > Attribute

SetEnv on production Server

2008-01-28 Thread Christoph Egger
Hi I'm going to have an django project served from the webserver of a friend of mine so we tried setting up Django. As the installer of 0.96 complained to not find /usr/lib/python2.5/config/Makefile (config/ does not exist) I manually coppied the files to /usr/lib/python2.5/site-packages/django an

Re: SetEnv on production Server

2008-01-29 Thread Christoph Egger
Anton P. Linevich wrote: > Greeting, Christoph! Mon, Jan 28, 2008 at 08:46:38PM +0100, Christoph.Egger > wrote: >> Invalid Command 'SetEnv', perhapes misspelled or defines by a module >> not included in the server configuration. > > Maybe you need load mod_env module before use it: > LoadMod