On Tue, Aug 17, 2010 at 23:29, Rolando Espinoza La Fuente
wrote:
> See csrf_exempt decorator:
> http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#exceptions
I had problems too, but the decorator is a good patch for the moment :-)
Thanks!
--
Karim Gojux
www.karimblog.net
--
You received
Hi all! This is my first post here in the list, I'm new in django and
python but I really found it fun and exciting so here we are!
My first question is pretty simple. I noted that the url I create
using urls.py are cleaned and pretty but there is no index.html or
simila. It seems that every url po
On Fri, Aug 20, 2010 at 18:19, David Euzen wrote:
> Hello,
>
> you should think of it in terms of ressource, not of file. URLs are
> about ressources not about files even if sometimes ressources are
> files.
Thanks for your answer. Was very useful!
Have a nice day.
--
Karim Gojux
www.karimblog
As I read here http://docs.djangoproject.com/en/dev/howto/static-files/ I
configure the settings.py and the urls.py to load a template in runserver.
## urls.py ##
from django.conf import settings
[...]
(r'^media/(?P.*)$', 'django.views.static.serve',
{'document_root': 'settings.
On Fri, Aug 27, 2010 at 10:57, bruno desthuilliers <
bruno.desthuilli...@gmail.com> wrote:
>
>
Thanks a lot for all your advices. I work a lot on settings.py and now is
more professional. The mistake was in
ADMIN_MEDIA_PREFIX = '/media/'
I changed it in
ADMIN_MEDIA_PREFIX = '/admin-media/'
And
Hi all! I'm working to create my CMS on Django, I would like to
realize a easy admin page for my flat pages that in Django-CMS is
called "site map". How I can do that? Are there any tutorial or how to
about that? Have you any advice?
Thanks!
The site map in Django-CMS:
http://www.django-cms.org/m
Try to modify the flatpages source! You can find it directly in your
django installation.
--
Karim Gojux
www.karimblog.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To
On Tue, Aug 31, 2010 at 14:11, Karim Gorjux wrote:
> I would like to
> realize a easy admin page for my flat pages that in Django-CMS is
> called "site map".
I found what I need. Is here: http://code.google.com/p/django-mptt/
--
Karim Gojux
www.karimblog.net
--
You re
Working on the Coltrane's Book :-) ...
I create two views that do the same thing but the first one use the
generic view and the second a render to response.
I don't understand why because both works but the second besides don't
passe the category object, don't load the
django.core.context_processo
On Thu, Sep 2, 2010 at 17:46, Daniel Roseman wrote:
> See here for an explanation:
> http://docs.djangoproject.com/en/1.2/ref/templates/api/#subclassing-context-requestcontext
> especially the "Note" box a screen or so down.
Thanks! Now everything is clear
--
Karim Gojux
www.karimblog.net
--
On Fri, Oct 1, 2010 at 15:17, Daniel Roseman wrote:
> Either use
> a DocumentRoot directive
Thanks! I solved the problem using the directive. Thanks really a lot! :-)
--
K.
Blog Personale: http://www.karimblog.net
--
You received this message because you are subscribed to the Google Groups
"
Hi all! I'm trying to create my devbox for Django and I use a server
in my lan with Ubuntu and Cherokee installed in. For every project I
use virtualenv so I install django and flup and I create in cherokee
panel the virtual server using the path of my virtualenv. All I do is
explained in the Chero
On Thu, Oct 28, 2010 at 19:32, Karim Gorjux wrote:
> Hi all! I'm trying to create my devbox for Django and I use a server
I fixed the problem with the settings.py and now admin works.
The problem now is to avoid the flup's "Unhandled Exception" and let
django show
On Thu, Oct 28, 2010 at 21:06, Robbington wrote:
> Glad to finally see some one using Cherokee with django. Dont just use
> it in development, its actually less memory intensive than apache as
> well as having an awesome admin interface.
Now I can just develop on Django with Cherokee I haven't an
I have just one question. While I'm editing the source of the project,
to see the result I have always to restart the server or there is
another way?
--
K.
Blog Personale: http://www.karimblog.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group
Thanks for all your answer, the topic get a little divergence, but
it's ok, I still use Cherokee for developing even if is not so
comfortable as I thought.
> The best way to save yourself time and effort is really to use the
> Django development server when testing out alterations.
Yes I guess so
On Mon, Nov 1, 2010 at 05:03, Django-learner wrote:
> Hi, I want to add an customized action to user management in django
> admin site. I can see that only delete selected user is available, how
> can I add more to that?
Did you try to google that? This is my **first** result:
http://docs.django
Maybe you'll find this also useful:
http://www.theotherblog.com/Articles/2009/06/02/extending-the-django-admin-interface/
--
K.
Blog Personale: http://www.karimblog.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, se
On Sun, Oct 31, 2010 at 01:27, Max Countryman wrote:
> Yes, absolutely. :D Good luck!
Max, I'm trying with uwsgi and Cherokee. Seems to work, but if I edit
the code, I have to kill the uwsgi process to see the modification on
the browser. Is that normal?
--
K.
Blog Personale: http://www.karimbl
On Mon, Nov 1, 2010 at 21:21, Max Countryman wrote:
> Karim, I would set it up using a UNIX socket. Then all you have to do is rm
> the socket path. :) There is no need to kill uWSGI in that case.
Let me study that, because there is always a newbie side in me that
sometimes scream out :D
If this
Hi all! I'm a relative newbie in Django and I spending a lot of time
study it in these days. I read many tutorials and books and I'm
surprised to found very interesting resource to how create a wiki, a
blog, app like twitter even a social bookmarking website but I never
found a simple tutorial to e
On Thu, Nov 4, 2010 at 15:06, bruno desthuilliers
wrote:
> You may not realize that what you're describing here is a full blown
> CMS, and as such is a tad more complex than simple thing like a blog
> or wiki or dumbed-down twitter clone. I strongly suggest you try some
> existing CMS like django-
On Thu, Nov 4, 2010 at 18:26, James wrote:
> Yes, there is.
>
> You should take a look at "Practical Django Projects" (be sure to get
> the 2nd edition) by James Bennett. In the book he creates a
> simple-cms with a tinymce editor.
>
> He has the source code published here:
> http://bitbucket.org
Now I'm trying django-cms, but I would like to find some really
essential to study on.
--
K.
Blog Personale: http://www.karimblog.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroup
Hi all, I'm just taking a look to the django-cms. I followed all the
instruction, but when I try to connect to the site I get this error
- log -
File
"/home/karim/Projects/e_dcms/lib/python2.6/site-packages/django/core/ser
On Thu, Nov 4, 2010 at 19:35, Karim Gorjux wrote:
> Hi all, I'm just taking a look to the django-cms. I followed all the
> instruction, but when I try to connect to the site I get this error
my mistake. Was the settings.py wrong! :-|
--
K.
Blog Personale: http://www.karimblog.n
Hi all, I would like to create a "improved" flatpage application
adding a editor and the support of image files. My target is to edit a
static web page load images and see a preview. I can add easily a
editor like tinymce, I would try also FCKeditor, but what about the
handle of images? Could you s
Hi all, I successfully extended the User as described in the
authorization documentation. Now I would like to use and edit the User
and my class Persona not like two entity but just one.
When I want to create a Persona, I have also to create a User first.
Now the steps are too long, how I can crea
On Sat, Nov 13, 2010 at 00:08, Steve Holden wrote:
> When you add a Persona the UserInline lets you enter a User record, but
> the User has to be saved before the Persona. You could do this by
> extending the Persona.save() method to save the User as well.
Thanks a lot. I'll try.
--
K.
Blog Per
29 matches
Mail list logo