Re: guardian and django1.7

2014-08-25 Thread Brian May
Ok, managed to get guardian tests working with Django 1.7 Patches 0004 to 0010 available at: https://github.com/brianmay/django-guardian/tree/master/debian/patches Not sure if this is suitable for a NMU to Debian; I just made it work as opposed to trying to work out the best solution for some of

Re: guardian and django1.7

2014-08-25 Thread Brian May
On 25 August 2014 15:50, Brian May wrote: > At the moment, am wondering if maybe this is a Django 1.7 bug. > Unless I hear otherwise, I am going to assume this is a Django 1.7 bug: https://code.djangoproject.com/ticket/23360 -- Brian May

Re: guardian and django1.7

2014-08-24 Thread Brian May
As an experiment, I imported django-guardian from the *.dsc files to git using git-dpm, and applied my changes. Not sure if I have got this right, it was the first time I used git-dpm. The result is currently at: https://github.com/brianmay/django-guardian/tree/patched (patched branch). This is te

Re: guardian and django1.7

2014-08-21 Thread Brian May
On 19 August 2014 18:37, Brian May wrote: > At which point I ran out of time :-) > Ok, did all that. guardian does some "creative" things, am surprised it works under any version of Django. e.g. defining conflicting DB models, and only use one of them. Next error: Traceback (most recent call l

Re: guardian and django1.7

2014-08-20 Thread Brian May
On 19 Aug 2014 18:37, "Brian May" wrote: > > On 19 Aug 2014 18:04, "Raphael Hertzog" wrote: > > Did you fill that new directory with an initial migration generated with > > ./manage.py makemigrations? > > Yes, did that, but than I realized I needed to do testapp. > > So I did just testapp by itse

Re: guardian and django1.7

2014-08-19 Thread Brian May
On 19 Aug 2014 18:04, "Raphael Hertzog" wrote: > Did you fill that new directory with an initial migration generated with > ./manage.py makemigrations? Yes, did that, but than I realized I needed to do testapp. So I did just testapp by itself, but suspect both django apps need to be done. At wh

Re: guardian and django1.7

2014-08-19 Thread Raphael Hertzog
Hi, On Tue, 19 Aug 2014, Brian May wrote: > > For example, I renamed migrations to south_migrations and created a > > Django1.7 compliant migrations directory, however still get the same error. Did you fill that new directory with an initial migration generated with ./manage.py makemigrations? C

Re: guardian and django1.7

2014-08-18 Thread Brian May
On 19 August 2014 11:03, Brian May wrote: > Any ideas how to fix > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755598 ? > > I have had a fiddle, but not really making any progress (apart from > Python3 package which works fine). > > For example, I renamed migrations to south_migrations and