Network configuration with django webpage

2011-11-11 Thread Ganesh Kumar
Hi guys, I am new to django, I want to create a simple page to configure network configuration, to configure ip address and set submask and gateway configuration. How to do with django, any clues and please guide me. -Ganesh. Did I learn something today? If not, I wasted it. -- You received th

Re: Addng extra variable to request sent by self.client.get() when using django TestCase

2011-11-11 Thread nav
Thanks for telling me about TemplateResponse. After experimenting for a while I have found that unless you call the required URL through self.client.get() the templates variable is not available whatever type of HttpResponse I use. In this case I am calling the view directly because of the need to

Re: Unable to load render_to_response module

2011-11-11 Thread Ganesh Kumar
HI Thanks Daniel it's working me. finally i understand third party modules did not load bash, If you want load bash, you have set DJANGO_SETTINGS_MODULE , other wise start with your project directory $ python manage.py shell Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) Type "copyright", "cre

Re: Django Gig

2011-11-11 Thread Russell Keith-Magee
On Fri, Nov 11, 2011 at 9:49 PM, Mo Mughrabi wrote: > Hello fellows django developers, ... > Please email me back if you are interested and I could share more details, > Best regards, Hi Mo, Two very important details that you might want to share: * Where is your company located? * Are you i

Why does Django create Postgres timestamp columns with time zones?

2011-11-11 Thread Kevin
I thought that Django created datetime columns that were time zone agnostic, but when I looked at my Postgres table I saw that the values recorded there have time zone information. Going further I found that the Postgres backend directs Django to create columns that use time zones. >From djang

ConditionalGetMiddleware question

2011-11-11 Thread K.C. Smith
Hi, I'm interested in enabling this middleware module. The Django doc.s don't say much about this module. From looking at the code, however, and reading about these mechanisms it appears that the module will do nothing unless the 'ETag' and/or the 'Last-Modified' properties are already set on th

Re: Unable to load render_to_response module

2011-11-11 Thread 马博文
hi, Daniel: That does work, you solve a big problem for me. Thanks a lot. Also, it seems like manage.py have lots of built in command which are doing different things. Could you give a thread that i can access to learn more about those commands? thanks By the way, i will tell people who have

Re: Serve a subset of uploaded media via Django

2011-11-11 Thread Nan
Thanks Andre -- that got me pointed in the right direction. I think that this solution[1] to upload outside of MEDIA_ROOT for a specific field, plus this module[2] to abstract and offload as much of the file serving effort as possible to the underlying server might do the trick. I'll post back i

Re: Serve a subset of uploaded media via Django

2011-11-11 Thread Andre Terra
Hello, Nan Please read through the File Uploads docs, especially the bit concerning upload handlers[1]. Good luck! Cheers, AT [1] https://docs.djangoproject.com/en/dev/topics/http/file-uploads/#upload-handlers On Fri, Nov 11, 2011 at 2:30 PM, Nan wrote: > Hi folks -- > > I know a related to

Serve a subset of uploaded media via Django

2011-11-11 Thread Nan
Hi folks -- I know a related topic has been addressed recently on this list, but I've got a twist: - Media uploaded by the staff via the admin interface needs to be served quickly, with minimal load, directly via Apache / lighttpd / nginx / whatever. Ditto for fully-static media. - Media upload

Re: Unable to load render_to_response module

2011-11-11 Thread Bowen
I get the same error about django settings Before, I know how to get it done under IDE ,but for the thing under command line,cannot fix it. Under IDE , I just set the django module Settings to be project name plus settings. Regards,Bowen 发自我的 iPhone 在 2011-11-11,21:49,Ganesh Kumar 写道: >

Re: Unable to load render_to_response module

2011-11-11 Thread Daniel Roseman
On Friday, 11 November 2011 13:49:08 UTC, Ganesh-Bugcy wrote: > > Hi , > > I have tried to load render_to_response module. it's through error. I > have tried download and install the module > https://github.com/jgorset/django-shortcuts > installed sucessfully, But not load any one of you help me g

Django Gig

2011-11-11 Thread Mo Mughrabi
Hello fellows django developers, I've been developing with django for sometime now, building a website for almost 6 months now. Am at a late stages and am getting stuck in a lot of things related mostly to CSS, JS and some advance Django challenges. Am looking for a django developer who's interest

Unable to load render_to_response module

2011-11-11 Thread Ganesh Kumar
Hi , I have tried to load render_to_response module. it's through error. I have tried download and install the module https://github.com/jgorset/django-shortcuts installed sucessfully, But not load any one of you help me guys. dhana013 ~ $ ipython Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56