Group Admin

2013-12-20 Thread vinayak11118
New here. Just wanted to know if there are any group admins present who review a post? Because I posted a question sometime back and it still hasn't showed up on the news feed. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fro

Django Custom User Admin Login

2013-12-20 Thread vinayak11118
I'm creating a custom user by extending the AbstractBaseUser class. I have read the Django documentation and several tutorials online and I think that what I've done till now is very basic and should work. The problem I'm facing is that even if I create a new DB from scratch and do a syncdb, th

Re: Django Custom User Admin Login

2013-12-21 Thread vinayak11118
So I solved the problem. Even I don't know how. :/ I used thisas a template and added my own models and requirements on top of it. Slightly off topic but I needed this setup because I want to grant users object leve

Re: Django Custom User Admin Login

2013-12-21 Thread vinayak11118
Also, from initial tests it appears that django-guardian is not setting permissions with custom user. I wrote a small manage.py script to test that: from django.core.management.base import BaseCommand, CommandError from iiitd.models import * from guardian.shortcuts import assign_perm, remove_perm

referencing models before syncdb

2013-12-25 Thread vinayak11118
I have an actions.py file which defines custom actions for the admin page for one of my models. It uses an intermediary page (like the default delete action) and hence has a corresponding form which is also declared in the same file. For some reason, I had drop by database (development) and now