Serve static file from cdn

2010-10-08 Thread Hudar
Hi, Just wondering how we could server static file if we have our files hosted in cdn. I been trying several way, but nothings work. I have the files in let say ; http://commondatastorage.googleapis.com/static/media/node.js As far as I know, all the example out there use static files reside i

Django form show initial prepopulate on edit

2010-10-27 Thread Hudar
Hi, Just wondering, how we could show initial value on the edit form. Let say we have code like this to retrive the data ; if request.method == 'GET': post = models.Post.get_by_key_name(key_name) editPostForm = postform.PostForm(initial={ 'title': post.title,

Re: Django form show initial prepopulate on edit

2010-10-27 Thread Hudar
n html. Thanks. On Oct 28, 12:26 am, Daniel Roseman wrote: > On Oct 27, 3:25 pm, Hudar wrote: > > > > > Hi, > > > Just wondering, how we could show initial value on the edit form. Let > > say we have code like this to retrive the data ; > > > if reque

Free Blog built on Django and run in AppEngine

2010-10-31 Thread Hudar
Hi, I just released a source code of my own blog as open source (called 'MeBlog'). Built the blog in django 1.2.3 and run in appengine. This blog has common features for blog, such as manage posts, manage pages, and manage media file. This is the first release, hope anyone enjoy. Feel free to wri

Django User Registration tutorial

2010-03-06 Thread Hudar
Hello, I am new to django and still go through the tutorial. Just made a simple registration form using django and found this error : http://dpaste.com/168746/ Below are the register function I wrote : def register(request): if request.method == "POST": form = UserCreationForm(reques

Python quit unexpectedly

2011-04-16 Thread Hudar
Hi, Anyone got this problem? I try to run grappelli on django 1.3. and run this command : #python manage.py runserver Server running. Withouth grappeli, I can go to django admin page. But after install grappelli, and try to access http://127.0.0.1/admin/ error appear 'Python quite unexpectedly'