Django Internal Server Error

2012-10-07 Thread Wnt2bsleepin
I looked in the log files for apache and it came up with the following. File "/home/Yourdogsdead/uglstats/uglstats/wsgi.py", line 26, in ? from django.core.wsgi import get_wsgi_application ImportError: No module named django.core.wsgi I am not sure why it's not importing properly. -- You

Re: ANN: django-socketio 0.1.0 released

2012-10-07 Thread rahul jain
Hi Stephen, I am having issues with the installation. Is this project still active? is there any goggle group? I just downloaded the latest file. Then i tried running the example chat application. I can see the messages from the client. However, events inside event.py are never getting fired. I

Re: when is a Context Processor called?

2012-10-07 Thread Daniel Roseman
On Sunday, 7 October 2012 17:43:19 UTC+1, Stefano T wrote: > Hi all. > i just discovered the context processor, and i use it for put an object in > the request automatically, this is the code: > > def addProfile(request): > try: > userProfile =

Re: Strange Template Error in Production Mode

2012-10-07 Thread Kamhamea
Problem solved. My fault. For some reasons I cannot recall, I had included the url.py file in debug mode only. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Re: Strange Template Error in Production Mode

2012-10-07 Thread Kamhamea
Not an answer just an update: > {% comment %} > Imagelist > {% uncomment %} > is not correct. > Correctly commented out the lines look like {% comment %} Imagelist {% endcomment %} The wrong comment out brace caused the inlude file to be ignored at all, so no

Re: Intensive View Tracking

2012-10-07 Thread Cal Leeming [Simplicity Media Ltd]
Hey JD, You might want to check this out; https://github.com/foxx/django-cutemodel It's not completely ready yet though and is missing a lot of features (see issues list) - but sounds pretty close to what you need. Although what it doesn't have is the ability to link audit items together (i.e.

Strange Template Error in Production Mode

2012-10-07 Thread Kamhamea
When DEBUG = False my django 1.4 (recently updated) behaves weirdly. I have a template to include that displays some menu items Topic 1 Topic 2 Search {% if local %} Topic local 1 Imagelist Topic local 2 {% endif %} I get an

RE: Should we have a database independent SQL like language in Django?

2012-10-07 Thread bb6xt
Hi, To add another 50 kobo to Babatunde's, I think another way of go may be to have per-backend translations for all raw queries stored as text files or in the database and a seamless way of instropecting and fetching the correct translation at runtime just like language translations. This

django/utils/html.py fix to work with jython/java

2012-10-07 Thread Stefan Hummert
http://code.google.com/p/django-jython/issues/detail?id=78 I am not sure where this fix suits best (django or django-jython project), so I'll just ask... at the Link above all fix details are posted (if someone care's to integrate them feel free...) -- You received this message because you

django-guardian + field permissions ?

2012-10-07 Thread Nicolas Emiliani
Hi, I'm using django-guardian to implement in the admin panel per object permissions. So far so good. Now I've stumbled upon the following issue. If I create an instance of a Foo model (a_foo from now on) and then assign to the user that created the instance (a_user from now on) change_foo and

about installing django

2012-10-07 Thread Lewis Satini
Hello, I am new here. I am thinking to start my django study again. I start before, but stuck with some issues. 1. Is there a way to install django and the plug-ins through ftp without going thru any command shell? after python was installed 2. I want to start an image portal. Is there any

Intensive View Tracking

2012-10-07 Thread jondykeman
Hello, I'm looking for some conceptual input. I am starting to plan the development of an app utilizing highly confidential data that will need to meet certain governmental requirements. I had dealt with auditing of the data etc, but it ends up they will require a timestamped history of

Value Error during 1.2 to 1.4 conversion

2012-10-07 Thread Peter
I'm trying to convert a Django 1.2 site to a 1.4 site. So there's lots of changing old generic views to class-based generic views, and the apps all go up one level so lots of changes to imports, but in each case so far it's it's been quite easy to narrow down the problem to a line in my code,

Re: Django Admin asks password every operation

2012-10-07 Thread Stefano T
Actually i had the url matching that was matchin all the request and send it to home. the problem was that in the home view i accidentally copied a logout(request) into the view and obviusly every time it was logging out me. now it works. On Oct 6, 4:05 pm, Victor Rocha

Re: Translation outside the broswer

2012-10-07 Thread Laxmikant Gurnalkar
Yeah, i18n works anywhere just put _(message) to send a mail. * * *cheers * On Fri, Oct 5, 2012 at 10:16 PM, Bastian wrote: > Thanks Tom, the logic seems pretty clear. I just didn't know about > translation.activate. What does it do exactly? Change the current

Re: Disabling CSRF is not working.

2012-10-07 Thread Laxmikant Gurnalkar
Thanks, for the response. I had a problem like this I was trying to create a storesite which can be worked without django framework but using django. i.e just static template index.html & a java-script file. With all the stuff dynamically generated & only urls by the django, so that anybody

Re: ./manage.py collectstatic does not collect my folder

2012-10-07 Thread easypie
Wonderful! I had to add in the files I wanted override inside STATICFILES_DIRS. It works now. On Saturday, October 6, 2012 11:01:39 PM UTC-7, Xavier Ordoquy wrote: > > Hi, > > Django static collects files that are: > - in the application's static directory > - in the directories listed by

Re: ./manage.py collectstatic does not collect my folder

2012-10-07 Thread Xavier Ordoquy
Hi, Django static collects files that are: - in the application's static directory - in the directories listed by STATICFILES_DIRS If using the default storage, files and directories are copied into the STATIC_ROOT directory and should be served at the location specified by STATIC_URL The