title: Django equivalent of Rails cancan and devise
body: <p>I did projects with django back a while ago and switched to rails. I found lots of cool thing in rails. I need to add some features back to django project. </p>
  
  <pre><code>Are there  Django equivalent of Rails cancan and devise ?
  Is there  Django equivalent of Rails scheduler gem?
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>For django permission framework I have to specify at each view something like</p>
  
  <pre><code>@permission_required('polls.can_vote')
  def my_view
  </code></pre>
  
  <p>I prefer cancan's way I can manage all permissions in one place</p>
  
  <pre><code>  include CanCan::Ability
  
    def initialize(user)
      user ||= User.new # guest user (not logged in)
      if user.has_role? :admin
        can :manage, :all
      else
        can :manage, :all      
        cannot :users, Swimming::Student
      end   
    end
  </code></pre>