|
|
@ -1,4 +1,5 @@
|
|
|
|
from django.conf import settings
|
|
|
|
from django.conf import settings
|
|
|
|
|
|
|
|
from django.db import transaction
|
|
|
|
from django.db.models import F, Min
|
|
|
|
from django.db.models import F, Min
|
|
|
|
from django.shortcuts import get_object_or_404, redirect, render
|
|
|
|
from django.shortcuts import get_object_or_404, redirect, render
|
|
|
|
from django.urls import reverse
|
|
|
|
from django.urls import reverse
|
|
|
@ -15,6 +16,7 @@ def get_absolute_join_session_url(request, session):
|
|
|
|
|
|
|
|
|
|
|
|
# Create your views here.
|
|
|
|
# Create your views here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@transaction.atomic
|
|
|
|
def create_playlist(request):
|
|
|
|
def create_playlist(request):
|
|
|
|
form = CreatePlaylistForm()
|
|
|
|
form = CreatePlaylistForm()
|
|
|
|
|
|
|
|
|
|
|
|