Dutch Django Sprint in Amsterdam February 2014

2014-02-24 Thread Daniele Procida
The sprint this weekend was productive - Baptiste lists some commits at . It was also a lot of fun. Thanks to Erik Romijn and the Dutch Django Association for organising it, and TravelBird (they're recruiting by the way!) who sup

Re: Django substitute old image of ImageFile

2014-02-24 Thread Fabrizio Alongi
Hi, after I've searched online, and from this reply I have wrote this solution by overriding save method of my model class. def save(self, force_insert=False, force_update=False, using=No

post save signal inline admin

2014-02-24 Thread Ali Rıza KELEŞ
Hi, I have problem with post save signal. Lets say we have two models Authors and Books. Authors model has a post save signal: NotifyAuthor When I save model Book with inline Author, Author's post save signal does not work. If I save model Author via its own form, the signal works properly. Is

Python

2014-02-24 Thread dravid rahul
*Hi Anyone can help me with this * I worked as a weblogic administrator and now i am changing to development and i am very much interested in python . please suggest me what are the things i need to learn more rather than python to get an I.T job. I came to Dja

How to return Random items from a Mongodb Resource

2014-02-24 Thread Anuj Chauhan
Hi Friends, I need to return random items from a tastypie resource which is a resources.MongoEngineResource. I have already tried using MyClass.objects.all().order_by('?'), but it simply keep returning the same rows always. Following is the code of my resource. class MViewSubResponseRandomRes

Re: Python

2014-02-24 Thread Vernon D. Cole
Python is a programming language. The purpose of a programming language is to write applications. Django is an application written in the Python language. The purpose of django is to create, operate, and administer websites

Re: Django test client encoding of JSON Booleans

2014-02-24 Thread Daniel Smith
Thank you very much for the help. So it sounds like I just have to suck it up and call json.loads() on request.body. The 'format=json' thing is related to also using the TastyPie test client. I've tried both and forgot where that parameter was used. Thanks, Daniel On Saturday, February 22, 20

big legacy database with complex many to many relationships

2014-02-24 Thread Sells, Fred
I have to integrate to a large read only legacy mssql database . The many-to-many tables have a lot of additional fields like start/end dates of the relationship and their own naming conventions Can anyone point me to some links that treat this topic in depth. I've looked at the django book an

Re: big legacy database with complex many to many relationships

2014-02-24 Thread Javier Guerra Giraldez
On Mon, Feb 24, 2014 at 2:54 PM, Sells, Fred wrote: > I have to integrate to a large read only legacy mssql database . while certainly it's possible to configure this as a second database and use the ORM, I've found that it's more work than usually needed. especially if you already have defined

Re: Python

2014-02-24 Thread Lachlan Musicman
Other useful tools for Django development are: some sort of server operating system (Linux is my choice); some sort of webserving software (Apache, Nginx); virtualization (virtualenv); a Version Control System (Git, Mercurial, SVN) and a Database (PostgreSQL, MySQL, SQLite) All of these technologi

RE: big legacy database with complex many to many relationships

2014-02-24 Thread Sells, Fred
Thanks, I think you set me on the right track. Fred. -Original Message- From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Javier Guerra Giraldez Sent: Monday, February 24, 2014 3:12 PM To: django-users@googlegroups.com Subject: Re: big legacy databa

Re: Django substitute old image of ImageFile

2014-02-24 Thread Mike Dewhirst
Fabrizio Very nice - I'll borrow that for sure :) Thanks Mike On 24/02/2014 11:38pm, Fabrizio Alongi wrote: Hi, after I've searched online, and from this reply I have wrote this solution

Re: Django test client encoding of JSON Booleans

2014-02-24 Thread Tom Evans
On Mon, Feb 24, 2014 at 7:37 PM, Daniel Smith wrote: > Thank you very much for the help. So it sounds like I just have to suck it > up and call json.loads() on request.body. > > The 'format=json' thing is related to also using the TastyPie test client. > I've tried both and forgot where that param

Re: big legacy database with complex many to many relationships

2014-02-24 Thread Tom Evans
On Mon, Feb 24, 2014 at 7:54 PM, Sells, Fred wrote: > I have to integrate to a large read only legacy mssql database . > > > > The many-to-many tables have a lot of additional fields like start/end dates > of the relationship and their own naming conventions > > > > Can anyone point me to some lin

Re: source code of the Django Tutorial?

2014-02-24 Thread fousto
Yes so I just went to 1.7 and started over. But the big problem they only give you code excerpts and newbies like me in the source code file. Bummer because I get indentation errors all the time On Monday, October 21, 2013 12:47:51 PM UTC-7, Yang Yang wrote: > > the tutorial is extremely hel

Django friendly payment gateway ,what about Eway ?

2014-02-24 Thread lu zou
Can someone please advise some payment gateway which is friendly with mezzanine(cartridge) based project ,which is also easy to be implemented ,since I donot quite know a lot about this ,and the website is supposed to be generally used in Australia . I am now considering Eway , is it a good Ch

Re: Django friendly payment gateway ,what about Eway ?

2014-02-24 Thread Mario Gudelj
Eway is a great gateway for OZ and quite easy to integrate. Not sure how well it works with other currencies. On 25/02/2014 10:21 am, "lu zou" wrote: > Can someone please advise some payment gateway which is friendly with > mezzanine(cartridge) based project ,which is also easy to be implemented

Re: source code of the Django Tutorial?

2014-02-24 Thread Mike Dewhirst
On 25/02/2014 9:56am, fou...@mac.com wrote: I get indentation errors all the time Does your editor use 4 spaces instead of tab chars and does it convert all tabs to 4 spaces? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fr

Re: How to return Random items from a Mongodb Resource

2014-02-24 Thread Camilo Torres
On Monday, February 24, 2014 8:28:23 AM UTC-4:30, Anuj Chauhan wrote: > > Hi Friends, > > I need to return random items from a tastypie resource which is > a resources.MongoEngineResource. > > I have already tried using MyClass.objects.all().order_by('?'), but it > simply keep returning the same