Re: Installing Channels - bin\\HostX86\\x64\\cl.exe' failed with exit status

2018-07-30 Thread Ryan McParlan
I just dont get why I have to install 7 gillion things from 7 different places on to my computer when programminghow do people know all this is secure? Now I need some program called docker. No wonder computers are so insecure and people hack them all the time. I mean there is so many tweeks

Add natural key support for for generic foreign keys fixtures.

2018-07-30 Thread Guillaume Thomas
As asked by auvipy, this is a thread to discuss the implementation for this ticket. The idea in the proposed implementation was: When a natural key is

Re: Regression? evaluation of a lazy string in Template

2018-07-30 Thread Dražen Odobašić
Yeah, I'll do it tomorrow ... Dražen On 30/07/18 15:19, Tim Graham wrote: > It doesn't look like that force_text() was added specifically to handle lazy > strings (see django/template/__init__.py in > https://github.com/django/django/commit/953badbea5a04159adbfa970f5805c0232b6a401) > but >

Re: Installing Channels - bin\\HostX86\\x64\\cl.exe' failed with exit status

2018-07-30 Thread Tim Graham
Hi Ryan, This mailing list is for the development of Django. Please use https://groups.google.com/forum/#!forum/django-users for usage questions. I think you're more likely to get help if you maintain a positive tone and omit sentences like "This is the problem with programming...". On Sunday,

Re: Regression? evaluation of a lazy string in Template

2018-07-30 Thread Tim Graham
It doesn't look like that force_text() was added specifically to handle lazy strings (see django/template/__init__.py in https://github.com/django/django/commit/953badbea5a04159adbfa970f5805c0232b6a401) but Django does have str() calls in various places to handle lazy strings, e.g.

Re: Fellow Reports -- July 2018

2018-07-30 Thread Carlton Gibson
Hi all, Calendar Week 30 -- ending 29 July. Triaged: https://code.djangoproject.com/ticket/29598 -- contrib.postgres.FloatRangeField should be renamed DecimalRangeField (Accepted) https://code.djangoproject.com/ticket/29599 -- chunk_size for InMemoryUploadedFile is not used (Invalid)

Regression? evaluation of a lazy string in Template

2018-07-30 Thread Dražen Odobašić
Hi, we are using Template engine to convert some translatable textual class level attributes, like [0]. In the process of migration to Django2.0, we got a problem with template Lexer which raises a `TypeError: expected string or bytes-like object` [1] I'm not sure if are just misusing the

Re: Dynamic app loading

2018-07-30 Thread Raphael Michel
Hi Christian, we are doing such a thing for quite a while in our open source project pretix[1]. I'm not sure if its something that Django needs to do better, since requirements for this tend to deviate a lot and there's already a solid basis in the Python packaging toolchain to start from: To