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
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,
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..
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
4 matches
Mail list logo