Re: modelformset question - interspersing extra forms among existing forms

2015-01-02 Thread Richard Brockie
Hi Collin, Thanks very much for the advice. I'll be getting to this part of my development in the next few days and will report back when I have things working. One question in the meantime - what does this line do given that my model will already explicitly not require the race_number?

[ANNOUNCE] Bugfix releases issued

2015-01-02 Thread Tim Graham
The second bugfix release in the 1.7 series is out (with nearly 60 fixes!), along with bugfix releases for the supported 1.4 and 1.6 release series, and what will hopefully (again) be the final release of the 1.5 series, which is now past end-of-life. Full details are available on the Django

Re: FormSets with arbitary number of forms

2015-01-02 Thread Some Developer
On 01/01/15 19:52, Edgar Gabaldi wrote: The formset allow you create many instances of an object. What you need is the inline formset. When you create a Album, you can create one or more songs. Ah! Thank you. I must have missed that. I'll check it out. -- You received this message because

Change keys in values dictionary.

2015-01-02 Thread Lee Hinde
If I do a query: messages = Recipient.objects.filter(user__system_id=user_id).values("message__id","message__subject") and then {"data":list(messages)} jsonify it, I end up with: "data" : [ { "message__id" : "2f24d132-4321-4d63-868a-21de6fbc0d44", "message__subject" : "And

Problem migration to server with gunicorn and nginx

2015-01-02 Thread pythonista
The application is working as expected in my development region, but when the admin migrates it to the server and starts up gnicorn and nginx, I get the following errror. I would appreciate any assistance. The application was running the first time we migrated 2 weeks ago to QA. Not sure if

Re: Need some advice on how to go about building a real time web app.

2015-01-02 Thread Shazwi Suwandi
Michiel: Ah, that's myopic on my part. Both sides are important. Jonas: I see I see. I keep thinking that libraries will make my life a bit easier but maybe what I currently need now does not require the use of them. And are you the author of the article? (I'm assuming it's the same Jonas)

Re: Need some advice on how to go about building a real time web app.

2015-01-02 Thread jonas hagstedt
Personally I don't use any library between Angular and Django (so I don't know about django-angular). I create specific templates for Angular so I don't have to change the {{ and }] syntax (you can also use the {% verbatim %} tag in your templates if you don't want to create individual

Re: create unmanaged model to oracle view/synonym

2015-01-02 Thread Fabio Caritas Barrionuevo da Luz
Hello, Shai and Edgar yes, I've tried using *inspectdb*, however, it only generates models for database tables, but not for database View[1] and database Synonym[2]. The Django documentation is currently not explicit in showing that the specific database features are supported by Django

Re: Can't save input to database

2015-01-02 Thread Ronis
Sorry I didn't the snippets are only available for 24 hours or little more. They should extend that. So finally I got it right! Uffa! So basically I did one little change to the html code actually, and it worked. Here was the code: Vem aĆ­ a 99

Re: create unmanaged model to oracle view/synonym

2015-01-02 Thread Fabio Caritas Barrionuevo da Luz
Hello, Shai and Edgar yes, I've tried using *inspectdb*, however, it only generates models for database tables, but not for database View[1] and database Synonym[2]. The Django documentation is currently not explicit in showing that the specific database features are supported by Django

Re: create unmanaged model to oracle view/synonym

2015-01-02 Thread Fabio Caritas Barrionuevo da Luz
Hello, Shai and Edgar yes, I've tried using *inspectdb*, however, it only generates models for database tables, but not for database View[1] and database Synonym[2]. The Django documentation is currently not explicit in showing that the specific database features are supported by Django

Re: Need some advice on how to go about building a real time web app.

2015-01-02 Thread Michiel Overtoom
Hi, A little side-note... > That then led me to learn how much I can shift items like validation to the > client side and leave Django to > do the rest. Even if you do client side validation, you still have to do it on the server side too, to protect your application from malicious

Need some advice on how to go about building a real time web app.

2015-01-02 Thread Shazwi Suwandi
Hi group, I'd like to get some guidance on how to go about thinking about the structure of the web app I'm trying to build. >From a high level perspective, I'm trying to make a web app that facilitates a small business doing camera rentals. To give a use case, if a user makes a rental booking