views:

24

answers:

0

Hi,

I'm trying to extend Django Admin Login. Most of the resources pointed towards extending views after the Login.

I wanted to add sites to the Login criteria.

So instead of

  • Username
  • Password

It will be

  • Username
  • Password
  • Site

Such that the Site will check whether the user belongs to the Site as admin and if it is, it will load only data belongs to the site.

Thanks

Cheers, Mickey