Compare commits
20 commits
22ee68a3bf
...
487aa7d61f
Author | SHA1 | Date | |
---|---|---|---|
487aa7d61f | |||
4dbe364e6d | |||
24bd2bdd0a | |||
cf48428a4c | |||
c0388e2b54 | |||
a7af4f9cdd | |||
98dfc33385 | |||
37da5b38b1 | |||
fe2f8b3b05 | |||
e81bf94dc1 | |||
165bec6496 | |||
03f21feb2f | |||
e58779b98f | |||
40184f12ee | |||
4d8406bd7c | |||
1cfeb34a4c | |||
bbbc6869c1 | |||
dbeb9f4116 | |||
bcc056e451 | |||
dffd3531fa |
4 changed files with 27 additions and 4 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "web/extras"]
|
||||
path = web/extras
|
||||
url = https://git.neulandlabor.de/j3d1/vue-extras.git
|
20
core/mail/migrations/0005_alter_eventaddress_event.py
Normal file
20
core/mail/migrations/0005_alter_eventaddress_event.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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:
|
||||
environment:
|
||||
- HTTP_HOST=core
|
||||
#- 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.event_slug && !!this.event_name;
|
||||
return this.pre_start <= this.start && this.start <= this.end && this.end <= this.post_end && !!this.slug && !!this.name;
|
||||
},
|
||||
prepare_date_field(e) {
|
||||
if (!e.target.value) {
|
||||
|
|
Loading…
Reference in a new issue