Skip to content

Commit

Permalink
[UPDATE] code format
Browse files Browse the repository at this point in the history
  • Loading branch information
t-nakatani committed Oct 16, 2022
1 parent dadb43c commit 4859425
Show file tree
Hide file tree
Showing 6 changed files with 171 additions and 170 deletions.
2 changes: 1 addition & 1 deletion accounts/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
name='login'),
path('logout/', LogoutView.as_view(), name='logout'),
path('signup/', views.SignUpView.as_view(), name='signup'),
]
]
5 changes: 2 additions & 3 deletions accounts/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
from django.shortcuts import render

# Create your views here.
from django.shortcuts import redirect, render

from .models import User
Expand All @@ -9,6 +6,8 @@
from django.contrib.auth.forms import UserCreationForm
from django.views.generic import CreateView

# Create your views here.

class SignUpView(CreateView):
model = User
form_class = SignupForm
Expand Down
Loading

0 comments on commit 4859425

Please sign in to comment.