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 my site?
cos i will
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, bu
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
Hey,
I am working with Django for a while and now that my "tree" and whole
DB is filled with data (note: existing database), I was wondering if
the "one model per table" is really better at this point than "one
model per select".
I have got one table - objtree. This is the place where I have all
Hey,
I use sphinx on regular basis with PHP and now I wanted to implement
it to my Django project. Everything went smoothly, but when I tried my
first search, I got an error.
Exception Value:'Product' object has no attribute 'id'
Exception Location: D:\dev\Python25\Lib\site-packages\djangosph
Hey,
I have got a choiceField in my form, where I display filtered data. To
filter the data I need two arguments. The first one is not a problem,
because I can take it directly from an object, but the second one is
dynamically generated. Here is some code:
class GroupAdd(forms.Form):
def __
"Why are you specify db_column='language_id' for the label field? Why
not
just let this field be given its default column name in the table?"
Isnt it the same thing? The only difference is, that django will add
"_id" to it now and in the end result is the same, I still get the
error.
If my model
Hey,
I would like to save a modified model, but I get Programming error -
language_id field is specified twice.
class ProductInfo(models.Model):
product_info_id = models.AutoField(primary_key=True)
language_id = models.IntegerField()
product_id = models.IntegerField()
description
Hey,
I have a little problem with django encoding. I have got everything in
the DB set as utf8. Now when I get them from db with django, the
encoding gets broken. For some reason django "thinks" (maybe knows)
the data is latin1, which wouldnt be a problem if I would tell him to
use latin1, which f
10 matches
Mail list logo