Re: Replacing the contrib.sites Site model with a setting?

2016-01-30 Thread Aymeric Augustin
This is a valid use case, but not one django.contrib.sites (officially) supports, since it requires a constant SITE_ID setting. While Tim's suggestion doesn't cause a regression, it doesn't make this pattern easier to implement either. It's definitely worth considering. -- Aymeric. > Le 30 j

Re: Deprecate Cache.has_key()?

2016-01-30 Thread Tim Graham
Yes, but dict.has_key() is removed in Python 3. If we started the deprecation in Django now, it would be scheduled for removal in Django 2.0 which also drops support for Python 2. On Friday, January 29, 2016 at 8:04:33 PM UTC-5, Curtis Maloney wrote: > > Isn't this so it complies with the dict i

Re: Improving MSSQL and Azure SQL support on Django

2016-01-30 Thread Tim Allen
Hi Cristiano, I support a bunch of developers on Windows (and Mac and Linux). You've probably heard this before, but Vagrant has really been a game changer for us. We're a RedHat shop, so I've built a CentOS vagrant box our developers can easily spin up for development purposes. It really helps

Extending ModelForm.save_m2m

2016-01-30 Thread James Pic
Hi all, Many apps provide new related managers to extend your django models with. For example, django-tagulous provides a TagField which abstracts an M2M relation with the Tag model, django-gm2m provides a GM2MField which abstracts an relation, django-taggit provides a TaggableManager which abstra

Fellow Report - January 30, 2016

2016-01-30 Thread Tim Graham
Triaged --- https://code.djangoproject.com/ticket/26130 - Convert ModelAdmin views to class-based views (duplicate) https://code.djangoproject.com/ticket/26131 - model field choices are not enforced (invalid) https://code.djangoproject.com/ticket/26134 - Update MySQL GIS function names

Adding SASL authentication support to PyLibMCCache

2016-01-30 Thread Ed Morley
Hi For apps running on Heroku, two of the main memcached options are MemCachier and Memcached Cloud [1]. Both of these control access via SASL authentication, which isn't supported by Django's current pylibmc backend [2], even though pylibmc supports it [3]. As such, currently the django-pylibmc b