Sidebars

2011-06-26 Thread Venkatraman S
Hi, I was looking for possible suggestions in implementing sidebars - i have a truck load of screens and need the sidebar to change dynamically base don the view. Most of the siderbar-conten is just links. I was thiking of including the various sidebar options in the base.html and then include a

Re: django 1.3 timing out on empty POST request

2011-06-26 Thread Roberto De Ioris
> Roberto, > > it is uWSGI, but can you explain a bit more what the post-buffering > would help me do? > Would it help me debug with pdb? > -mehdi Before starting a pretty long and boring explanation, can you double check if you are using the 0.9.8.1 version of uWSGI ? It should manage POST

Re: Strip_tags and non english char issue

2011-06-26 Thread Ian Clelland
On Fri, Jun 24, 2011 at 5:21 PM, ydjango wrote: > Just checking if anyone has any pointers? > We are using Django 1.1.4 > > On Jun 15, 2:03 pm, ydjango wrote: > > I have rich text (in utf8) which I want to show in standard browser > > tooltip. > > > >

Re: Social Networking basics? -Raj

2011-06-26 Thread Kenneth Gonsalves
On Sun, 2011-06-26 at 14:43 -0400, ApogeeGMail wrote: > I am also a newbie on this list. I have been reading the list for > about two months. I have learned a LOT following the questions and > answers. I would like to suggest that some of the links like > duckduck.go be added to the standard doc's

Re: django 1.3 timing out on empty POST request

2011-06-26 Thread mehdi ait oufkir
Roberto, it is uWSGI, but can you explain a bit more what the post-buffering would help me do? Would it help me debug with pdb? -mehdi On Jun 25, 11:32 am, "Roberto De Ioris" wrote: > > @Karen, I tried the patch, and it doesn't seem to help. Do you have > > any ideas when is

Re: Django won't send 500 or 404 emails, but django.core.mail.EmailMessage and django.utils.log.AdminEmailHandler work

2011-06-26 Thread Kyle Gong
I was trying to avoid setting up a mail server by just sending through gmail's SMTP server. It is sending correctly through django.utils.log.AdminEmailHandler and it was my understanding that they worked through the same mechanisms? On Jun 24, 2011 6:58 PM, "Russell Keith-Magee"

Re: syncdb error

2011-06-26 Thread Phage
Thank you Karen, Those links are really helpful Phage -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Re: manytomany query problem

2011-06-26 Thread Tony
Alex, I did it your way and although it does return the intersected sets correctly, it is not exactly what I want because I need those sets to be returned with their respective model A objects. So, referring back to the end result of my example above: a1 to (b1,), a2 to None, a3 to (b1,) I want

Re: manytomany query problem

2011-06-26 Thread Tony
It means I want some objects of type B to be filtered within their parent relation of model A. I am about to try Alex's suggestion, but any other suggestions would be great too and I will let you guys know if it works. On Jun 24, 3:36 pm, Nikhil Somaru wrote: > When you say

Re: Social Networking basics? -Raj

2011-06-26 Thread ApogeeGMail
Hi All: I am also a newbie on this list. I have been reading the list for about two months. I have learned a LOT following the questions and answers. I would like to suggest that some of the links like duckduck.go be added to the standard doc's page's on the right hand side. I would also like

Re: loading a typical image to Django 1.3

2011-06-26 Thread Kenny Meyer
What about your urls.py? Kenny On Sun, Jun 26, 2011 at 1:15 PM, vahidR wrote: > Hi There, > > I have a very basic question about adding images to Django 1.3. > I've almost read the whole documents on adding Static files , searched > for relevant results both in here

Re: Importing file to Models - Temporary store to allow confirming?

2011-06-26 Thread Shawn Milochik
If you're using Django 1.2 or higher you can take advantage of the multi-database support by adding the 'using' kwarg to your model.save(). This will allow you to ensure that the model saves successfully (is valid) in the 'holding' database, and move it to your 'live' database later. You

loading a typical image to Django 1.3

2011-06-26 Thread vahidR
Hi There, I have a very basic question about adding images to Django 1.3. I've almost read the whole documents on adding Static files , searched for relevant results both in here and StackOverFlow and still have a problem with my case. Please take a look at my settings : STATIC_ROOT =

Re: Directory structure issue.

2011-06-26 Thread Cal Leeming [Simplicity Media Ltd]
Also, check what your sys.path is. It could be that you actually need to do: INSTALLED_APPS = ( 'core.app1', ) Or ('app1',) Sometimes the path can get screwed up depending on the loading mechanism used. Cal On 26 Jun 2011 14:11, "bruno desthuilliers" wrote: --

Re: Directory structure issue.

2011-06-26 Thread bruno desthuilliers
On Jun 26, 12:18 am, Frederico Betting wrote: > Hi All > > I am beginner in using django framework and I'm trying to do a project with > a different directory structure but it's not working and I don't know what I > am doing wrong. > Follow an example for what I am

Re: Django Model Designer - UML

2011-06-26 Thread Mateusz Harasymczuk
I found perfect tool for mac SQLeditor + Django plugin works perfect! http://www.malcolmhardie.com/sqleditor/django/index.html -- Matt Harasymczuk http://www.matt.harasymczuk.pl -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this

Re: Looking for recomendation on using popup like admin "+" widget

2011-06-26 Thread Peter Murphy
GKR, If I understand you correctly, you want to override the behavior of a Field.choices property, so that admins can add values on the fly. I don't think that is possible with Django. Maybe the best solution is to create a new table with one column - one that contains only the choices admins

Re: please recommend a video streaming app/lib

2011-06-26 Thread Malcolm Box
Adobe video server. It's the de facto standard and you can get access via amazon ec2 easily. On Jun 26, 2011 5:31 AM, "akonsu" wrote: > hello, > > can anyone recommend a library or an application for video streaming > that can be used in a commercial site that requires good

how to get objects-id while adding objects to m2m-relation ?

2011-06-26 Thread da_dev
Hi, I am using django-grappelli, so I asked this first in the related django-grappelli-GG but obviously no one was able to help me. So I am asking this here too, because the underyling m2m-horizontal-filter is pretty identical in the standard admin-interface as I know now: i am pretty new in

a problem about the custom login form with a verify code filed.

2011-06-26 Thread Korobase
I want to add a verify code field in the login form. So, I write a authentication_form which added a charField to generate a verify code and the verify code saved to the request.session. But When I send login form request,I find in my authentication_form, I can't campare the session's verify code

a problem about the custom login form with a verify code filed.

2011-06-26 Thread Korobase
I want to add a verify code field in the login form. So, I write a authentication_form which added a charField to generate a verify code and the verify code saved to the request.session. But When I send login form request,I find in my authentication_form, I can't campare the session's verify code

Re: Directory structure issue.

2011-06-26 Thread Mike Dewhirst
On 26/06/2011 8:18am, Frederico Betting wrote: Hi All I am beginner in using django framework and I'm trying to do a project with a different directory structure but it's not working and I don't know what I am doing wrong. Follow an example for what I am doing: project `-- core |-- app1

Importing file to Models - Temporary store to allow confirming?

2011-06-26 Thread Victor Hooi
heya, We have a CSV file that we are importing into a Django application, and then creating the appropriate models and relationships. At the first page, we have a file upload form where the user selects a file. We then parse the file, and return a second page showing them what would be