File tree 7 files changed +17
-12
lines changed
7 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 14
14
DIR_TMPL = os .path .join ( DIR_ROOT , 'templates' )
15
15
DIR_STATIC = os .path .join ( DIR_ROOT , 'static' )
16
16
17
- DIR_DJ_CORE = 'config'
18
- DIR_DJ_HOME = 'home'
17
+ DIR_DJ_CONFIG = 'config'
18
+ DIR_DJ_APP_DEFAULT = 'home'
19
19
20
20
FILE_DJ_MANAGE_s = 'manage.py'
21
21
FILE_DJ_ENV_s = '.env'
22
22
FILE_DJ_DEPS_s = 'requirements.txt'
23
- FILE_DJ_URLS_s = os .path .join ( DIR_DJ_CORE , 'urls.py' )
24
- FILE_DJ_SETTINGS_s = os .path .join ( DIR_DJ_CORE , 'settings.py' )
25
- FILE_DJ_INIT_s = os .path .join ( DIR_DJ_CORE , '__init__.py' )
26
- FILE_DJ_MODELS_s = os .path .join ( DIR_DJ_HOME , 'models.py' )
23
+ FILE_DJ_URLS_s = os .path .join ( DIR_DJ_CONFIG , 'urls.py' )
24
+ FILE_DJ_SETTINGS_s = os .path .join ( DIR_DJ_CONFIG , 'settings.py' )
25
+ FILE_DJ_INIT_s = os .path .join ( DIR_DJ_CONFIG , '__init__.py' )
26
+ FILE_DJ_MODELS_s = os .path .join ( DIR_DJ_APP_DEFAULT , 'models.py' )
27
27
28
28
FILE_CI_BUILD_s = 'build.sh'
29
29
FILE_CI_RENDER_s = 'render.yaml'
Original file line number Diff line number Diff line change 16
16
from .h_code_parser import *
17
17
18
18
def get_django ():
19
- os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "core .settings" )
19
+ os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , DIR_DJ_CONFIG + " .settings" )
20
20
from collections import OrderedDict
21
21
from django .apps import apps
22
22
from django .conf import settings
@@ -44,7 +44,7 @@ def check_db_conn():
44
44
print ('Database unavailable, waiting 1 second...' )
45
45
time .sleep (1 )
46
46
47
- print ('Database available! ' )
47
+ print ('Connecton OK ' )
48
48
49
49
def get_apps ():
50
50
retVal = []
Original file line number Diff line number Diff line change 1
1
services :
2
2
- type : web
3
3
name : django-datta-latest
4
- plan : free
4
+ plan : starter
5
5
env : python
6
6
region : frankfurt # region should be same as your database region.
7
7
buildCommand : " ./build.sh"
Original file line number Diff line number Diff line change 27
27
</ a >
28
28
</ div >
29
29
< h4 class ="text-center f-w-500 mt-4 mb-3 "> Login</ h4 >
30
-
30
+ < p class ="text-center mb-3 ">
31
+ < span > Test Account: < strong > test / Pass12__</ strong > </ span >
32
+ < br />
33
+ < span > ADMIN: < strong > admin / Pass12__</ strong > </ span >
34
+ </ p >
35
+
31
36
{% if form.non_field_errors %}
32
37
{% for error in form.non_field_errors %}
33
38
< span class ="d-block text-danger mb-3 "> {{ error }}</ span >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ <h5 class="m-b-10">
19
19
</ div >
20
20
< ul class ="breadcrumb ">
21
21
< li class ="breadcrumb-item ">
22
- < a href ="{% url 'dynamic_api' %} "> Dynamic API</ a >
22
+ < a href ="{% url 'dynamic_api' %} "> Dynamic API</ a > - Read < a target ="" href =" https://app-generator.dev/docs/developer-tools/dynamic-api.html " > Documentation </ a > .
23
23
</ li >
24
24
</ ul >
25
25
</ div >
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ <h5 class="m-b-10">
36
36
< div class ="card ">
37
37
< div class ="card-header ">
38
38
< h5 >
39
- Available Routes - defined in < strong > settings.DYNAMIC_DATATB</ strong >
39
+ Available Routes - defined in < strong > settings.DYNAMIC_DATATB</ strong > - Read < a target ="" href =" https://app-generator.dev/docs/developer-tools/dynamic-datatables.html " > Documentation </ a > .
40
40
</ h5 >
41
41
</ div >
42
42
< div class ="card-body ">
You can’t perform that action at this time.
0 commit comments