Re: On django multi tenancy

2014-04-03 Thread Yo-Yo Ma
It's so easy to build an Account or Tenant or Site model of your own, do a little leg work, and you've got a multitenant app with all the custom functionality you need. Getting caught up in trying to use contrib apps and hacking things together turned out to be more work once you pass the basics

Re: Revisiting multiline tags

2014-04-03 Thread Curtis Maloney
Have any of you tested my code which gives you multi-line tags? I'd be interested in hearing how it fares "in the real world" -- C On 4 April 2014 01:52, dude wrote: > More useful example is not ‘very long with’, just a situation with html > code block, which have in left sir already offset

Re: On django multi tenancy

2014-04-03 Thread Riccardo Magliocchetti
Hello, Il 03/04/2014 09:46, Riccardo Magliocchetti ha scritto: Hello, Il 03/04/2014 00:15, Russell Keith-Magee ha scritto: On Thu, Apr 3, 2014 at 2:20 AM, Riccardo Magliocchetti mailto:riccardo.magliocche...@gmail.com>> wrote: First we already have an initial patch sitting in this ticket

Re: Revisiting multiline tags

2014-04-03 Thread dude
More useful example is not ‘very long with’, just a situation with html code block, which have in left sir already offset about 60 cols. And when we add there any django template tag with params it goes exceed 80 lines (for standard). But we can use 120 of course. In real life html tree can be v

Re: Revisiting multiline tags

2014-04-03 Thread Daniel Ellis
Hmm, that does seem like a great idea! On Thu, Apr 3, 2014 at 10:17 AM, dude wrote: > Very good idea i think! > > Many people love format source codes to be beauty. But they can’t because > django templates does’t support multiline tags. > > > 03 апр. 2014 г., в 21:13, Daniele Procida написал(

Re: Revisiting multiline tags

2014-04-03 Thread dude
Very good idea i think! Many people love format source codes to be beauty. But they can’t because django templates does’t support multiline tags. 03 апр. 2014 г., в 21:13, Daniele Procida написал(а): > On Thu, Apr 3, 2014, Carl wrote: > >> As someone said earlier in the thread, making Pytho

Re: Revisiting multiline tags

2014-04-03 Thread Daniele Procida
On Thu, Apr 3, 2014, Carl wrote: >As someone said earlier in the thread, making Python programmers deal with >long lines seems like some special form of torture ;) My own use case is this: {% with placeholder_width=960 generic_main_width=523 sidebar_image_size="294x196" entity_image_size="445

Re: Revisiting multiline tags

2014-04-03 Thread Carl
Hi Russell, A brief example to answer your question... On Monday, 19 August 2013 00:59:13 UTC+1, Russell Keith-Magee wrote: > > > >> I wondered if you are using internationalisation? If so have you run into >> the same problems or is it easy to circumvent for you? >> > > I'm not using it mys

Re: On django multi tenancy

2014-04-03 Thread Riccardo Magliocchetti
Hello, Il 03/04/2014 00:15, Russell Keith-Magee ha scritto: On Thu, Apr 3, 2014 at 2:20 AM, Riccardo Magliocchetti mailto:riccardo.magliocche...@gmail.com>> wrote: Hi everyone, i'd like to start a discussion about multi tenancy on this list. I've been asked to move the discussion

Re: Proposal: Database Constraints

2014-04-03 Thread Thejaswi Puthraya
On Wednesday, April 2, 2014 4:09:37 AM UTC+5:30, simonb wrote: > > Hi > > Just FYI: back in 2007 GSOC there was a project to add constraints. The > syntax was as follows: > The code is at https://github.com/theju/django-check-constraints/ I doubt it works as is after the SQL compiler changes. I