Re: Django-Subscription
On Monday, July 9, 2012 2:54:06 AM UTC-7, Pervez Mulla wrote:
Hi...How can I make use Django_subscripation in my project...?? In my application I want to give subscription option ,EX- If customers are subscribed to our product then they can able to access all the data, Else the customer will able to see only charts/graphs in webpage .
When they subscribe, set a subscribed=True boolean field on their Profile. Then you can test for request.user.get_profile.subscribed in your templates.
./s
-- You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/6bncs55YJQ8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home