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

2011-06-25 Thread GKR
Some one please help -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Vgrw_-xLcI0J. To post to this group, send email to django-users@googlegroups.com. To

Re: need more than 1 value to unpack error

2011-06-25 Thread Python_Junkie
I found the error. After reviewing my own post and realizing that I was getting the same error regardless of the syntax that I was using, and only when I was using a template, I realized where the solution was. The settings.py The template directory was not set up. It is all good now. My bad

please recommend a video streaming app/lib

2011-06-25 Thread akonsu
hello, can anyone recommend a library or an application for video streaming that can be used in a commercial site that requires good performance and scalability? we expect the site to receive a lot of traffic. and the main functionality is video on demand. thank you -- You received this

Re: can i control select column order in a queryset?

2011-06-25 Thread Karen Tracey
On Sat, Jun 25, 2011 at 6:39 PM, Joe Linoff wrote: > I am a newbie who is really enjoying Django. It is a great system and has > really saved me a lot of time but I am having a problem trying to control > the column order in a queryset. > > In SQL my queries would look

Re: need more than 1 value to unpack error

2011-06-25 Thread Karen Tracey
On Sat, Jun 25, 2011 at 5:54 PM, Python_Junkie < software.buy.des...@gmail.com> wrote: > I am just getting started with django. Have been a python developer > for a number of years > > I am following the examples in the book The Definitive Guide to Django > and the same error keeps popping up. >

Re: Can't get official "djangoproject.com" site running

2011-06-25 Thread Karen Tracey
On Sat, Jun 25, 2011 at 4:35 PM, mark elion wrote: > Hello guys. I am quite a beginner in using django and python. I have > read through tutorial on the official website, and also separate > topics on models, views, templates, urls, forms. So I have basic idea > on how django

can i control select column order in a queryset?

2011-06-25 Thread Joe Linoff
Hi Folks: I am a newbie who is really enjoying Django. It is a great system and has really saved me a lot of time but I am having a problem trying to control the column order in a queryset. In SQL my queries would look something like this: -- column order #1 SELECT

how to override a ModelChoiceField in order to add FKs directly in a TextInput?

2011-06-25 Thread snfctech
I can get text inputs rendered fine by setting the widget to a TextInput like so: myrelation = ModelChoiceField(MyRelatedClass.objects.none(), widget=TextInput) But I still get ModelChoiceField validation errors on validate: 'Select a valid choice. That choice is not one of the available

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

2011-06-25 Thread GKR
Im looking for some way to use the widget with a choice filed like admin interface (+) to popup a window when clicked on it and popup should give the way to add new data like the datas in the choice field. on save the window to close and the choice field to get updated along with that..

Directory structure issue.

2011-06-25 Thread Frederico Betting
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 | |-- __init__.py | `-- models |

need more than 1 value to unpack error

2011-06-25 Thread Python_Junkie
I am just getting started with django. Have been a python developer for a number of years I am following the examples in the book The Definitive Guide to Django and the same error keeps popping up. "need more than 1 value to unpack" I understand what it is trying to say, but I do not see

Can't get official "djangoproject.com" site running

2011-06-25 Thread mark elion
Hello guys. I am quite a beginner in using django and python. I have read through tutorial on the official website, and also separate topics on models, views, templates, urls, forms. So I have basic idea on how django works. I have choosen the official djangoproject website from here

Re: Social Networking basics? -Raj

2011-06-25 Thread Ronnie Betzen
Being a newbie myself, I find this much more appealing. I'm grateful this is being considered, having read ESR's version as well. I'll also try to be very careful to follow these guidelines as I appreciate the time everyone here takes to help people like me. Thanks a bunch! On Thursday, June

Re: Foreign key dependent model's data not getting saved !

2011-06-25 Thread Karen Tracey
On Sat, Jun 25, 2011 at 1:42 PM, CareerDhaba tech wrote: > Hey, > > Thanks Karen for the reply. I have been trying many things on this form and > trying to save both the models data using one form in a single instance. I > did try the commit=False method too but it gave an

Re: django 1.3 timing out on empty POST request

2011-06-25 Thread Roberto De Ioris
> @Karen, I tried the patch, and it doesn't seem to help. Do you have > any ideas when is the 1.3.X scheduled to be released? > > @Bruno, using nginx + WSGI + DJANGO is the setup. If you mean mod_wsgi for nginx, i am not able to help you, but if you mean nginx + uWSGI, you will probably only

Re: django 1.3 timing out on empty POST request

2011-06-25 Thread mehdi ait oufkir
@Karen, I tried the patch, and it doesn't seem to help. Do you have any ideas when is the 1.3.X scheduled to be released? @Bruno, using nginx + WSGI + DJANGO is the setup. -mehdi On Jun 25, 8:56 am, bruno desthuilliers wrote: > On Jun 25, 10:27 am, mehdi ait

Re: Foreign key dependent model's data not getting saved !

2011-06-25 Thread CareerDhaba tech
Hey, Thanks Karen for the reply. I have been trying many things on this form and trying to save both the models data using one form in a single instance. I did try the commit=False method too but it gave an error which i couldnt figure out. Everytime i try doing something new an unknown

Re: Foreign key dependent model's data not getting saved !

2011-06-25 Thread Karen Tracey
On Sat, Jun 25, 2011 at 1:00 PM, CareerDhaba tech wrote: > The user model is getting saved with username and password but the > userprofile isn;t :( That is a somewhat misleading description of the problem since the code as you have posted it would not just fail to save

Foreign key dependent model's data not getting saved !

2011-06-25 Thread CareerDhaba tech
Whats the problem with this code ? *models.py *class userprofile(models.Model): user = models.OneToOneField(User) Firstname = models.CharField(max_length=20) Middlename = models.CharField(max_length=20) Surname = models.CharField(max_length=20) Gender =

Re: can we have a database settings per app in a single django project ?

2011-06-25 Thread sanket
Thanks Bruno so much. I will take a look at the links you posted. Thanks again, sanket On Jun 25, 8:50 am, bruno desthuilliers wrote: > On Jun 25, 9:47 am, sanket wrote: > > > Hi All, > > > I am quite new to Django and I am not able to

Re: Django Static Files

2011-06-25 Thread Kevin Anthony
I sort of knew that Can someone post their scrubed conf file? On Jun 25, 2011 12:54 AM, "Andrew Brookins" wrote: > Sorry: posting from phones... Not always awesome. > > If the development server serves your static files, but Apache does not, then the problem is likely

Re: deploiment an application

2011-06-25 Thread bruno desthuilliers
Posting the same question twice under different titles won't help. On Jun 25, 10:12 am, geonomos wrote: > Hi, > I'm new in django frameworck and I'm tring to develop a simple application. > I've a free account in alwaysdata and I've follow instruction in >

Re: Django with FastCGI doesn't works

2011-06-25 Thread bruno desthuilliers
On Jun 25, 10:24 am, geonomos wrote: > Hi, > I'm new in django frameworck and I'm tring to develop a simple application. > I've a free account in alwaysdata and I've follow instruction in > "https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/?from=...; >

Re: django 1.3 timing out on empty POST request

2011-06-25 Thread bruno desthuilliers
On Jun 25, 10:27 am, mehdi ait oufkir wrote: > Thanks for the response Bruno. > > Your comment made me think I forgot to mention that the issue only > happens in production when django is behind nginx. Duh... > I'm not sure how to run pdb in this context. Don't know if you

Re: can we have a database settings per app in a single django project ?

2011-06-25 Thread bruno desthuilliers
On Jun 25, 9:47 am, sanket wrote: > Hi All, > > I am quite new to Django and I am not able to figure out if I can have > database settings per application in a single django project. https://docs.djangoproject.com/en/1.3/topics/db/multi-db/ > I am > planning to use

Re: django 1.3 timing out on empty POST request

2011-06-25 Thread Karen Tracey
On Sat, Jun 25, 2011 at 4:27 AM, mehdi ait oufkir wrote: > Thanks for the response Bruno. > > Your comment made me think I forgot to mention that the issue only > happens in production when django is behind nginx. > I'm not sure how to run pdb in this context. > Any ideas

Re: Looking for recommendations for Custom Forms from Admin

2011-06-25 Thread Venkatraman S
On Sat, Jun 25, 2011 at 8:17 PM, Venkatraman S wrote: > > > On Sat, Jun 25, 2011 at 7:56 PM, Matthias Kestenholz wrote: > >> You might want to have a look at form_designer: >> >> https://github.com/matthiask/form_designer >> >> It contains a FeinCMS content

Re: Looking for recommendations for Custom Forms from Admin

2011-06-25 Thread Venkatraman S
On Sat, Jun 25, 2011 at 7:56 PM, Matthias Kestenholz wrote: > You might want to have a look at form_designer: > > https://github.com/matthiask/form_designer > > It contains a FeinCMS content type (form_designer.models.FormContent), > the rest of it isn't FeinCMS-specific. A

Re: Looking for recommendations for Custom Forms from Admin

2011-06-25 Thread Matthias Kestenholz
On Sat, Jun 25, 2011 at 3:00 PM, Venkatraman S wrote: > Hi, > > Was looking for possible django apps that help one build custom forms "on > the fly" from the admin screens. > You might want to have a look at form_designer: https://github.com/matthiask/form_designer It

Django with FastCGI doesn't works

2011-06-25 Thread geonomos
Hi, I'm new in django frameworck and I'm tring to develop a simple application. I've a free account in alwaysdata and I've follow instruction in "https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/?from=olddocs#running-django-on-a-shared-hosting-provider-with-apache; but if I point

deploiment an application

2011-06-25 Thread geonomos
Hi, I'm new in django frameworck and I'm tring to develop a simple application. I've a free account in alwaysdata and I've follow instruction in "https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/?from=olddocs#running-django-on-a-shared-hosting-provider-with-apache; but if I point

can we have a database settings per app in a single django project ?

2011-06-25 Thread sanket
Hi All, I am quite new to Django and I am not able to figure out if I can have database settings per application in a single django project. I am planning to use Django for my next project and I am in a need of using MongoDB just for one app and MySQL for the other parts of the project. I know,

Looking for recommendations for Custom Forms from Admin

2011-06-25 Thread Venkatraman S
Hi, Was looking for possible django apps that help one build custom forms "on the fly" from the admin screens. Venkat -- 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

Re: django 1.3 timing out on empty POST request

2011-06-25 Thread mehdi ait oufkir
Thanks for the response Bruno. Your comment made me think I forgot to mention that the issue only happens in production when django is behind nginx. I'm not sure how to run pdb in this context. Any ideas where else to look? -mehdi On Jun 24, 11:37 am, bruno desthuilliers