Preventing apps installing duplicate models

2018-02-06 Thread Murat Sert
Hi, I'm working on a project upgrade from Django 1.8 to 1.11. They've used a custom registration app which is inheriting from Django Registration Redux package. Both packages are listed on installed_apps list. All works fine however when I try to run tests, where it creates test tables back to

Re: Reporting unwanted behaviours

2018-01-18 Thread Murat Sert
Hi, I don't think a package is neccesary for this (or at least I haven't researched it) but from a very abstract perspective, inside the posts have a boolean reported field, then you can render a button next to each post and then when users click on it, you mark it as it is being reported. Then

RequestContext instance passed to simpletag ?

2018-01-18 Thread Murat Sert
Hey, I'm working on upgrading to Django 1.11 and have encountered an issue with simple_tags making use of context. I need to access the context within the tag so declare the decorator as follows. @register.simple_tag(takes_context=True) However when I print the type of context at this stage i

Deprecations not listed within release notes

2018-01-15 Thread Murat Sert
There are some deprecations such as the custom_sql_for_model and couple of other methods within django.core.management.sql file which isn't listed on any of the release notes 1.8/1.9/1.11 or deprecation timeline. Does anyone know if there methods are deprecated or moved elsewhere? -- You recei