Re: Console output using runserver..

2011-12-03 Thread vivek_12315
I just figured out that if I use : http://127.0.0.1:8081/ner/ then I am getting print output in console, but if I use: http://localhost:8081/ner/ then i am not getting the output Whats the reason behind this / ?? On Dec 3, 12:34 pm, vivek_12315 wrote: > This

Re: Console output using runserver..

2011-12-03 Thread vivek_12315
This is what Django webpage is showing as error: OperationalError at /ner/ no such table: b_mp_TABLE Request Method: POST Request URL:http:

[Newbie] Console output using runserver..

2011-12-02 Thread vivek_12315
I have been working on a simple project. I use Django app server and use it like: ## C:\search\pysolr\webinterface>python manage.py runserver 8081 Validating models... 0 errors found Django version 1.0.2 final, using settings 'webinterface.settings' Development server

Location for generating temporary files

2011-02-13 Thread vivek_12315
Hello all, while coding for views in django, i feel the need of generating files, more like logs. But i want all those logs to be generated in a specific directory. So, can I use my settings.py file for defining such a location of dir. and in views files' i can refer to that settings value some h

Any Django framework command to freeze/wait/notify ?

2011-01-04 Thread vivek_12315
Hi all, This is a common scenario which many of you have faced. Say, I created a simple view file, in which user uploads a file and does some processing at backend and after processing is finished I am rendering a html page with some processed result. My problem is that, there should be some kin

Re: Problem with simple file upload.

2010-12-25 Thread vivek_12315
On Dec 25, 11:29 pm, vivek_12315 wrote: > If I use print statements in view python files, where can I see the > output ? I am using django dev. server for initial testing of my > website > > On Dec 22, 1:18 pm, yiftah wrote: > > > Nick is right, yo

Re: Problem with simple file upload.

2010-12-25 Thread vivek_12315
On Dec 25, 11:29 pm, vivek_12315 wrote: > If I use print statements in view python files, where can I see the > output ? I am using django dev. server for initial testing of my > website > > On Dec 22, 1:18 pm, yiftah wrote: > > > Nick is right, yo

Re: Problem with simple file upload.

2010-12-25 Thread vivek_12315
heck, but i'm pretty sure the name of your file input > > needs to match the name of the form field. Also, try troubleshooting. > > Use print statements in the view to see if the file object is being > > posted, etc. > > > On Dec 21, 11:54 pm, vivek_12315 wrote: &g

Re: Problem with simple file upload.

2010-12-25 Thread vivek_12315
heck, but i'm pretty sure the name of your file input > > needs to match the name of the form field. Also, try troubleshooting. > > Use print statements in the view to see if the file object is being > > posted, etc. > > > On Dec 21, 11:54 pm, vivek_12315 wrote: &g

Re: Problem with simple file upload.

2010-12-21 Thread vivek_12315
Awaiting reply! On Dec 22, 3:36 am, vivek_12315 wrote: > I am a beginner in Django programming. I am writing a simple module > for file upload looking at link: > > http://docs.djangoproject.com/en/dev/topics/http/file-uploads/?from=o... > > I have made a view = upload.py and

Problem with simple file upload.

2010-12-21 Thread vivek_12315
I am a beginner in Django programming. I am writing a simple module for file upload looking at link: http://docs.djangoproject.com/en/dev/topics/http/file-uploads/?from=olddocs I have made a view = upload.py and corresponding html = upload.html. Its content are as follows: ~upload.py~~~

Django mod_python under apache

2010-11-12 Thread vivek_12315
I have configured Django with mod_python under apache web server. I would like to know, where can i see the print statements output for debugging which i put in python files in django views. I dont think print statement appears in Apache logs ... -- You received this message because you are sub

Problem with custom tags

2010-11-11 Thread vivek_12315
My project is in folder: webinterface/ I have defined a custom "webinterface_tags.py" inside my project: webinterface/templatetags/webinterface_tags.py My webinterface/settings.py says: INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions