Skip to content

mjumbewu/subscribe.me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A generic subscriptions and notification framework for Django.

Accessing a Subscriber instance from a User

Subscriber is a proxy model. You may find yourself wanting to access the methods on a subscriber instance from an auth.User instance. There are a few workarounds for this on StackOverflow:

If you are using Django 1.5 or above, I recommend using the AUTH_USER_MODEL configuration variable, and setting it to 'subscriptions.Subscriber'. If you cannot use Django 1.5 or above, we provide an authentication backend that loads a Subscriber instance. Just add the following to your settings:

AUTHENTICATION_BACKENDS = ['subscriptions.auth_backends.SubscriberBackend']

About

Subscribe to RSS and ATOM by email

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published