Add IntelliJ IDEA project configuration files
This commit adds IntelliJ IDEA-specific configuration files for the project, including module setup, version control integration, inspection profiles, and workspace settings. These files facilitate development environment configuration for contributors using IntelliJ IDEA.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
class PreinfoModel(models.Model):
|
||||
container_number = models.CharField(
|
||||
max_length=11,
|
||||
)
|
||||
container_type = models.ForeignKey(
|
||||
'common.ContainerTypeModel',
|
||||
on_delete=models.CASCADE,
|
||||
related_name='preinfo_container_types',
|
||||
)
|
||||
line = models.ForeignKey(
|
||||
'common.LinesModel',
|
||||
on_delete=models.CASCADE,
|
||||
related_name='preinfo_lines',
|
||||
)
|
||||
created_on = models.DateTimeField(auto_now_add=True)
|
||||
created_by = models.ForeignKey(
|
||||
'users.DepotUser',
|
||||
on_delete=models.CASCADE,
|
||||
related_name='preinfo_created_by',
|
||||
db_column='created_by_id', # Ensure the column name matches your database schema
|
||||
)
|
||||
deleted = models.BooleanField(default=False, null=False)
|
||||
deleted_by = models.ForeignKey(
|
||||
'users.DepotUser',
|
||||
on_delete=models.CASCADE,
|
||||
related_name='preinfo_deleted_by',
|
||||
db_column='deleted_by_id', # Ensure the column name matches your database schema
|
||||
null=True,
|
||||
)
|
||||
deleted_on = models.DateTimeField(null=True)
|
||||
received = models.BooleanField(default=False, null=False)
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
Reference in New Issue
Block a user