Compare commits
18 commits
487aa7d61f
...
22ee68a3bf
Author | SHA1 | Date | |
---|---|---|---|
22ee68a3bf | |||
b851809214 | |||
987a851fc3 | |||
1fb25c796f | |||
84aa2e8820 | |||
546e49e50e | |||
c6ddbfe7b8 | |||
ec1cdfd4f5 | |||
d4b6912894 | |||
64af2d4434 | |||
861cef95ab | |||
5154ade894 | |||
594b8c4da3 | |||
d6182f8b31 | |||
e005d6fb6f | |||
fc3484fe22 | |||
d6823a147b | |||
5e6030e715 |
4 changed files with 4 additions and 27 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
|||
[submodule "web/extras"]
|
||||
path = web/extras
|
||||
url = https://git.neulandlabor.de/j3d1/vue-extras.git
|
|
@ -1,20 +0,0 @@
|
|||
# Generated by Django 4.2.7 on 2024-11-03 18:30
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('inventory', '0004_alter_event_created_at_alter_item_created_at'),
|
||||
('mail', '0004_alter_emailattachment_file'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='eventaddress',
|
||||
name='event',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='addresses', to='inventory.event'),
|
||||
),
|
||||
]
|
|
@ -4,11 +4,11 @@ services:
|
|||
context: ../../core
|
||||
dockerfile: ../deploy/dev/Dockerfile.backend
|
||||
command: bash -c 'python manage.py migrate && python manage.py runserver 0.0.0.0:8000'
|
||||
environment:
|
||||
- HTTP_HOST=core
|
||||
#environment:
|
||||
# - DATABASE_URL
|
||||
volumes:
|
||||
- ../../core:/code
|
||||
- ./.backend.env:/code/.env
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ export default {
|
|||
methods: {
|
||||
...mapActions(['createEvent']),
|
||||
validate_data() {
|
||||
return this.pre_start <= this.start && this.start <= this.end && this.end <= this.post_end && !!this.slug && !!this.name;
|
||||
return this.pre_start <= this.start && this.start <= this.end && this.end <= this.post_end && !!this.event_slug && !!this.event_name;
|
||||
},
|
||||
prepare_date_field(e) {
|
||||
if (!e.target.value) {
|
||||
|
|
Loading…
Reference in a new issue