RamezIssac/django-erp-framework

error because not install sqlite database

youssriaboelseod opened this issue · 3 comments

hi Ramiz
thank you for your grateful package
we realy need your package and i will help you for improve it

after install ra-erp
i noticed that the website didn't load because the sqlite database hadn't generated

also there are problem in static_root

i will fix this on my web site because i am using PostgreSQL database but i attend you for this problem
youssri

Good day ... Would share the error that appeared with you ?
I will revise on my end .

python manage.py startapp first
Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "E:\programing\websites\ra-erp\env\lib\site-packages\django\core\management_init_.py", line 401, in execute_from_command_line
utility.execute()
File "E:\programing\websites\ra-erp\env\lib\site-packages\django\core\management_init_.py", line 345, in execute
settings.INSTALLED_APPS
File "E:\programing\websites\ra-erp\env\lib\site-packages\django\conf_init_.py", line 76, in getattr
self.setup(name)
File "E:\programing\websites\ra-erp\env\lib\site-packages\django\conf_init
.py", line 63, in setup
self.wrapped = Settings(settings_module)
File "E:\programing\websites\ra-erp\env\lib\site-packages\django\conf_init
.py", line 142, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "C:\ProgramData\Miniconda3\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 860, in get_code
File "", line 791, in source_to_code
File "", line 219, in _call_with_frames_removed
File "E:\programing\websites\ra-erp\aeraeg\aeraeg\settings.py", line 144
STATIC_ROOT = os.path.join(BASE_DIR, '..', 'collected_static')
^
SyntaxError: invalid syntax

no problem
i am not creating new project i just i integreated django-ra-erp on my project ,
it`s running now

Capture