ó
øĒTQc           @   sŨ  d  d l  m Z m Z d  d l m Z d  d l m Z d  d l m Z d  d l	 m
 Z
 d  d l m Z d  d l m Z d  d l m Z d  d	 l m Z m Z d  d
 l m Z e d    Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z e e d d d e d d  f d d e d d  f d e f d d e d d  f d  d e d! e  f d" e
 e  f d# e
 e d$ d f d% e f d& e f d' e f d( e f d) e f d* e f e d+ e d, d-  Z d. S(/   iĸĸĸĸ(   t   patternst   url(   t   context_processors(   t   urlpatterns(   t   password_reset(   t   login_required(   t   info(   t   HttpResponse(   t   render_to_response(   t   Templatet   RequestContext(   t   never_cachec         C   s.   t  d  } t |  i   } t | j |   S(   s    Dummy view for remote user testss   Username is {{ user }}.(   R	   R
   R   t   render(   t   requestt   tt   c(    (    s7   ../Django//lib/python/django/contrib/auth/tests/urls.pyt   remote_user_auth_view   s    c         C   s>   t  d t |  i  d t j g  } t  d i |  j j d 6 S(   Ns,   context_processors/auth_attrs_no_access.htmlt
   processorss.   context_processors/auth_attrs_test_access.htmlt   session_accessed(   R   R
   R   t   autht   sessiont   accessed(   R   t   r1(    (    s7   ../Django//lib/python/django/contrib/auth/tests/urls.pyt   auth_processor_no_attr_access   s    c         C   s>   t  d t |  i  d t j g  } t  d i |  j j d 6 S(   Ns)   context_processors/auth_attrs_access.htmlR   s.   context_processors/auth_attrs_test_access.htmlR   (   R   R
   R   R   R   R   (   R   R   (    (    s7   ../Django//lib/python/django/contrib/auth/tests/urls.pyt   auth_processor_attr_access   s    c         C   s"   t  d t |  i  d t j g  S(   Ns'   context_processors/auth_attrs_user.htmlR   (   R   R
   R   R   (   R   (    (    s7   ../Django//lib/python/django/contrib/auth/tests/urls.pyt   auth_processor_user    s    c         C   s"   t  d t |  i  d t j g  S(   Ns(   context_processors/auth_attrs_perms.htmlR   (   R   R
   R   R   (   R   (    (    s7   ../Django//lib/python/django/contrib/auth/tests/urls.pyt   auth_processor_perms$   s    c         C   s"   t  d t |  i  d t j g  S(   Ns0   context_processors/auth_attrs_perm_in_perms.htmlR   (   R   R
   R   R   (   R   (    (    s7   ../Django//lib/python/django/contrib/auth/tests/urls.pyt   auth_processor_perm_in_perms(   s    c         C   s/   t  |  d  t d t |  i  d t j g  S(   Ns	   Message 1s+   context_processors/auth_attrs_messages.htmlR   (   R   R   R
   R   R   (   R   (    (    s7   ../Django//lib/python/django/contrib/auth/tests/urls.pyt   auth_processor_messages,   s    c         C   s   d  S(   N(    (   R   (    (    s7   ../Django//lib/python/django/contrib/auth/tests/urls.pyt   userpage1   s    t    s   ^logout/custom_query/$s    django.contrib.auth.views.logoutt   redirect_field_namet   follows   ^logout/next_page/$t	   next_pages   /somewhere/s   ^remote_user/$s   ^password_reset_from_email/$s(   django.contrib.auth.views.password_resett
   from_emails   staffmember@example.coms   ^admin_password_reset/$t   is_admin_sites   ^login_required/$s   ^login_required_login_url/$t	   login_urls    ^auth_processor_no_attr_access/$s   ^auth_processor_attr_access/$s   ^auth_processor_user/$s   ^auth_processor_perms/$s   ^auth_processor_perm_in_perms/$s   ^auth_processor_messages/$s   ^userpage/(.+)/$t   nameR   N(    t   django.conf.urlsR    R   t   django.contrib.authR   t   django.contrib.auth.urlsR   t   django.contrib.auth.viewsR   t   django.contrib.auth.decoratorsR   t   django.contrib.messages.apiR   t   django.httpR   t   django.shortcutsR   t   django.templateR	   R
   t   django.views.decorators.cacheR   R   R   R   R   R   R   R   R   t   dictt   True(    (    (    s7   ../Django//lib/python/django/contrib/auth/tests/urls.pyt   <module>   s@   															