Re: Feature request: Template tag like stateless component in JSX React

2021-01-29 Thread Curtis Maloney
On Fri, 29 Jan 2021, at 19:18, Aztec Rabbit wrote: > Curtis - This is nested block right? what i want is like tag include (can be > called more than once) but with children. Correct. And that's more or less what nested block does; The difference from include is sniplates takes a template and rip

Another approach to ticket373:Add support for multiple-column primary keys

2021-01-29 Thread Arisophy
Hi, django developers. Is anyone still interested in ticket373? https://code.djangoproject.com/ticket/373 I'm gradually migrating legacy systems built with Ruby On Rails to Django. So made an extended Model class that supports composite primary keys. https://github.com/Arisophy/django-composite

Re: Increase default integer keys to 64 bits

2021-01-29 Thread Adam Johnson
64 bits is the default for new projects. See the 3.2 release notes: https://docs.djangoproject.com/en/dev/releases/3.2/ On Fri, 29 Jan 2021 at 17:23, Christophe Pettus wrote: > > > > On Jan 29, 2021, at 07:40, charettes wrote: > > > > As Tom said Django 3.2 supports swapping the default primary

Re: Increase default integer keys to 64 bits

2021-01-29 Thread Christophe Pettus
> On Jan 29, 2021, at 07:40, charettes wrote: > > As Tom said Django 3.2 supports swapping the default primary key of models so > the integer exhaustion part of your suggestion should be addressed That's not particularly related. The issue isn't that there isn't any way to get a 64 bit key

Re: Increase default integer keys to 64 bits

2021-01-29 Thread charettes
As Tom said Django 3.2 supports swapping the default primary key of models so the integer exhaustion part of your suggestion should be addressed Regarding identity columns support there's already a ticket opened about it on Trac[0] where you might want to chime in. Even #30511 if doesn't land i

Re: Feature request: Template tag like stateless component in JSX React

2021-01-29 Thread Jure Erznožnik
Aztec, Just look in the dynamicforms/templates folder: all templates for input fields are built using this tag in its various forms. There's plenty of examples there. And yes, it's exactly what you asked for. LP, Jure On 29. 01. 21 09:18, Aztec Rabbit wrote: Curtis - This is nested block rig

Re: Feature request: Template tag like stateless component in JSX React

2021-01-29 Thread Aztec Rabbit
Curtis - This is nested block right? what i want is like tag include (can be called more than once) but with children. Jure - I've read the documentation, can you give me a sample code? I am confused Hmmm, but i think this feature is very useful (for card, container, wrapper, and anythink with