1de84888fcfc2bc4ba4c68eee69c2822a1cd1061,django/comicsite/views.py,,_register,#Any#Any#,42
Before Change
title = "registration_successful"
display_title = "registration successful"
if request.user.is_authenticated() :
participantsgroup = Group.objects.get(name=site.participants_group_name())
request.user.groups.add(participantsgroup)
html = "<p> You are now registered to "+ site.short_name + "<p>"
After Change
[site, pages, metafooterpages] = site_get_standard_vars(site_short_name)
if site.require_participant_review:
currentpage = _register_after_approval(request, site)
else:
currentpage = _register_directly(request, site)
return render_to_response("page.html", {"site": site, "currentpage": currentpage, "pages":pages},context_instance=RequestContext(request))
def _register_directly(request, site):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: comic/grand-challenge.org
Commit Name: 1de84888fcfc2bc4ba4c68eee69c2822a1cd1061
Time: 2013-12-09
Author: w.s.kerkstra@gmail.com
File Name: django/comicsite/views.py
Class Name:
Method Name: _register
Project Name: comic/grand-challenge.org
Commit Name: 472c8aa4eeb1eac9599da742e98926b4de166b87
Time: 2013-12-09
Author: w.s.kerkstra@gmail.com
File Name: django/comicsite/views.py
Class Name:
Method Name: _register
Project Name: samuelclay/NewsBlur
Commit Name: 2e437fcee128cc25c62b2fc44391a51dbfc661b9
Time: 2011-03-02
Author: samuel@ofbrooklyn.com
File Name: utils/user_functions.py
Class Name:
Method Name: get_user