<commit_before>from allauth.socialaccount import views as socialaccount_views
from allauth.socialaccount.providers.facebook import views as facebook_views
from django.conf.urls import url

from . import views

urlpatterns = [
    url(
        r'^stadt/gestalten/$',
        views.List.as_view(),
        name='gestalten'),

    url(
        r'^stadt/gestalten/(?P<pk>[0-9]+)/edit/$',
        views.Update.as_view(),
        name='gestalt-update'),

    url(
        r'^stadt/gestalten/(?P<pk>[0-9]+)/edit/avatar/$',
        views.UpdateAvatar.as_view(),
        name='gestalt-avatar-update'),

    url(
        r'^stadt/gestalten/(?P<pk>[0-9]+)/edit/background/$',
        views.UpdateBackground.as_view(),
        name='gestalt-background-update'),

    url(
        r'^stadt/login/$',
        views.Login.as_view(),
        name='login'),

    url(r'^stadt/login/cancelled/$',
        socialaccount_views.login_cancelled,
        name='socialaccount_login_cancelled'),

    url(r'^stadt/login/error/$',
        socialaccount_views.login_error,
        name='socialaccount_login_error'),

    url(r'^stadt/login/facebook/$',<commit_msg>Add signup view to fix error<commit_after>from allauth.socialaccount import views as socialaccount_views
from allauth.socialaccount.providers.facebook import views as facebook_views
from django.conf.urls import url

from . import views

urlpatterns = [
    url(
        r'^stadt/gestalten/$',
        views.List.as_view(),
        name='gestalten'),

    url(
        r'^stadt/gestalten/(?P<pk>[0-9]+)/edit/$',
        views.Update.as_view(),
        name='gestalt-update'),

    url(
        r'^stadt/gestalten/(?P<pk>[0-9]+)/edit/avatar/$',
        views.UpdateAvatar.as_view(),
        name='gestalt-avatar-update'),

    url(
        r'^stadt/gestalten/(?P<pk>[0-9]+)/edit/background/$',
        views.UpdateBackground.as_view(),
        name='gestalt-background-update'),

    url(
        r'^stadt/login/$',
        views.Login.as_view(),
        name='login'),

    url(r'^stadt/login/cancelled/$',
        socialaccount_views.login_cancelled,
        name='socialaccount_login_cancelled'),

    url(r'^stadt/login/error/$',
        socialaccount_views.login_error,
        name='socialaccount_login_error'),

    url(r'^stadt/login/signup/$',
        socialaccount_views.signup,
        name='socialaccount_signup'),

    url(r'^stadt/login/facebook/$',
{'fraction_non_alphanumeric': 0.15929941618015012, 'fraction_numerical': 0.0050041701417848205, 'mean_word_length': 2.8322683706070286, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '742962', 'n_tokens_mistral': 807, 'n_tokens_neox': 768, 'n_words': 101}