Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/d/j/django_learning-HEAD/board/urls.py   django_learning(Download)
def dispatch_by_login(request, *args, **kwargs):
    if request.user.is_authenticated():
        view = CommentCreateView.as_view()
    else:
        view = show_post_detail