Don't show "in Umsetzung" labels, add demo user

This commit is contained in:
Christian Cueni 2022-10-27 12:45:43 +02:00
parent fc4bda0895
commit 6254e63d01
3 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,7 @@ const props = defineProps<{
<template> <template>
<div <div
v-if="props.learningContentType !== 'placeholder'"
class="flex bg-gray-200 rounded-full px-2.5 py-0.5 gap-2 items-center w-min h-min" class="flex bg-gray-200 rounded-full px-2.5 py-0.5 gap-2 items-center w-min h-min"
> >
<component <component

View File

@ -99,6 +99,14 @@ def create_default_users(user_model=User, group_model=Group, default_password=No
password="myvbv1234", password="myvbv1234",
) )
_create_student_user(
email="bianca.musterfrau@vbv-afa.ch",
first_name="Bianca",
last_name="Musterfrau",
avatar_url="/static/avatars/avatar_bianca.png",
password="myvbv1234",
)
def _get_or_create_user(user_model, *args, **kwargs): def _get_or_create_user(user_model, *args, **kwargs):
username = kwargs.get("username", None) username = kwargs.get("username", None)

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB