Can't locate 'media' directory

2012-05-15 Thread django-user59
Hi, I attempted to add 'media' directory to the root of my project and placed a css file and some ajax javascript. The server runtime is unable to locate it. Can someone help? I have the following in settings.py MEDIA_ROOT = os.path.join(ROOT_PATH, 'media') MEDIA_URL = 'http://127.0.0.1:8000/m

How do I install the module

2012-05-15 Thread django-user59
Hi, I attempted to download and use one of the sources for examples - the "bashoneliners" project from: http://code.google.com/p/bashoneliners/ However, it complains that django_openid_aith is not found. I downloaded the django_openid_auth module from the location https://launchpad.net/django-

Re: Can't get a Chapter 7 example to work.

2012-05-12 Thread django-user59
was not a HttpResponse was important one to pursue. On Saturday, May 12, 2012 8:07:52 AM UTC-7, django-user59 wrote: > > Yati, > > Thanks so much for a fast response. > > Here is my views.py code - I thought I'm returning an instance of > HttpResponse. > > fro

examples of integrating Sencha 2.0 Javascript front end.

2012-05-12 Thread django-user59
Hi, I'm looking to integrate a JavaScript framework like Sencha 2.0 into django backend. How do I do this? Are there examples of this that anyone can point to? There will be quite a bit of interactive AJAX 2.0 calls from the Javascripts. Thanks, -- You received this message because you are s

Re: Can't get a Chapter 7 example to work.

2012-05-12 Thread django-user59
render_to_response('contact_form.html', {'form': form}) On Saturday, May 12, 2012 8:01:57 AM UTC-7, yati sagade wrote: > > My wild guess is that you're returning an instance of ContactForm in one > of your views. A view should return an HttpResponse object. Che

Can't get a Chapter 7 example to work.

2012-05-12 Thread django-user59
Hi, I could not get the Chapter 7 "contact" form example to work. The public copy-paste is here: http://dpaste.com/747112/copy/ The message I get is: AttributeError at /contact/ 'ContactForm' object has no attribute 'status_code' My ContactForm definition is as follows: from django import form