forked from mmcardle/django_builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-project.json
More file actions
35 lines (35 loc) · 808 Bytes
/
Copy pathexample-project.json
File metadata and controls
35 lines (35 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"name": "DjangoProject",
"description": "A Django Project with great potential",
"htmx": false,
"apps": [
{
"name": "DjangoApp1",
"models": [
{
"name":"DjangoModel1",
"fields": [
{
"name": "field1",
"type": "CharField",
"args": "max_length=30"
},
{
"name": "field2",
"type": "TextField",
"args": "max_length=100"
}
],
"relationships": [
{
"name": "relationship1",
"type": "django.db.models.ForeignKey",
"to": "django.contrib.auth.models.User",
"args": "on_delete=models.CASCADE"
}
]
}
]
}
]
}