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
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
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
This is what Django webpage is showing as error:
OperationalError at /ner/
no such table: b_mp_TABLE
Request Method: POST
Request URL:http:
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
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~~~
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
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
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
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
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
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
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
13 matches
Mail list logo