Skip to content

Commit

Permalink
DMP Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
roninx991 committed Nov 21, 2017
1 parent 51dadf3 commit 3ad90e4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified DMP/db.sqlite3
Binary file not shown.
Binary file modified DMP/songs/__pycache__/views.cpython-35.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions DMP/songs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from django.shortcuts import render,redirect,get_object_or_404
from django.views import View
from django.views.generic import TemplateView,ListView,DetailView,CreateView
# from .forms import RegisterForm
from .models import Song
from songs.utils import unique_slug_generator

# Create your views here.
# Function based view

Expand All @@ -31,7 +31,7 @@ def signup(request):
obj.save()


return redirect('/songs/')
return redirect('/songs/')
else:
form = UserCreationForm()
return render(request, 'home.html', {'form': form,'songs':queryset})
Expand Down

0 comments on commit 3ad90e4

Please sign in to comment.