RE: django Page

2014-07-26 Thread Lukáš Němec
Hi, Try googling django-pages It is a small cms I created. If you encounter some problems, just ask. Lukas -- From: ngangsia akumbo Sent: ‎26/‎07/‎2014 05:18 To: django-users@googlegroups.com Subject: Re: django Page can i intergrate the cms in

Re: supervisor

2013-10-22 Thread Lukáš Němec
Dne 22. 10. 2013 18:24, Diogene Laerce napsal(a): the trick is to add supervisor command that specifically tells the program to NOT daemonize [program:my_uwsgi] command = /usr/local/bin/uwsgi -i /path/to/config.ini autorestart = True user = your_user config.ini: your standard uwsgi config,

Re: deploy ?

2013-10-12 Thread Lukáš Němec
You can use nxinx with uwsgi even with several domain names, nginx takes care of that, you just run several uwsgi/gunicorn processes on different tcp ports or unix sockets, and nginx will just select the one that fits for its domain name (set in config) of course you need to set it properly..

Re: showing the checked item alone in template

2013-07-16 Thread Lukáš Němec
You should do something like this (I havent tried it but it should work): 1. you are missing this in forms.py class Meta: model = Actions 2. then you can do this in your views: form = PersonActionsForm() actions = form.fields['actions'] for choice in actions.choices: # do something