vpn integration

This commit is contained in:
2026-04-11 22:07:59 +02:00
parent c4d27e9842
commit 00ac38d126
47 changed files with 945 additions and 749 deletions
-2
View File
@@ -1,3 +1 @@
from django.contrib import admin
# Register your models here.
+2 -2
View File
@@ -2,5 +2,5 @@ from django.apps import AppConfig
class WatchPartyConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'watch_party'
default_auto_field = "django.db.models.BigAutoField"
name = "watch_party"
+3 -1
View File
@@ -6,6 +6,8 @@ from django.db import models
class Room(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4)
date_created = models.DateTimeField(auto_now_add=True)
created_by = models.ForeignKey("user.User", on_delete=models.CASCADE, related_name="rooms_created")
created_by = models.ForeignKey(
"user.User", on_delete=models.CASCADE, related_name="rooms_created"
)
users = models.ManyToManyField("user.User", related_name="rooms")
all_admin = models.BooleanField(default=False)
-2
View File
@@ -1,3 +1 @@
from django.test import TestCase
# Create your tests here.
-2
View File
@@ -1,3 +1 @@
from django.shortcuts import render
# Create your views here.