Skip to content

Commit f44f7de

Browse files
committed
Updated to Python3
1 parent a746a41 commit f44f7de

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Aarjav/Checkmate/Checkmate/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
urlpatterns = [
2323
url(r'^admin/', admin.site.urls),
24-
url(r'^login/$', views.login, name='login'),
25-
url(r'^logout/$', views.logout, name='logout'),
24+
url(r'^login/$', views.LoginView.as_view(template_name='home.html'), name='login'),
25+
url(r'^logout/$', views.LogoutView.as_view(template_name='home.html'), name='logout'),
2626
url(r'^auth/', include('social_django.urls', namespace='social')),
2727
url(r'^$', home, name='home'),
2828
url(r'^teams/', selectTeam, name='selectTeam'),

Aarjav/Checkmate/baseapp/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def afterTeam(request):
3535
teams_all = Team.objects.all()
3636
Team_exists = False
3737
Teammate_exists = False
38+
team_id = -1
3839

3940

4041
for myteam in teams_all:

Aarjav/Checkmate/db.sqlite3

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)