You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to use dinette for forum in my django project
after install dinette
i am add "dinette", in install app
After when i give syncdb command so it give following error
"AttributeError: 'Settings' object has no attribute 'LOG_FILE_NAME'"
After that i am add setting for that in settings.py
like,
LOG_FILE_NAME = "test.log"
LOG_FILE_PATH = os.path.join(PROJECT_PATH, "logs")
so it gives error like
"NoSectionError: No section: 'formatters'"
After that i am add
LOG_FILE_PATH = "%s/logs/"%PROJECT_PATH
so still give same error
than i am replace with
LOG_FILE_PATH = ""%s/logs/""%PROJECT_PATH
so now it give error for
LOG_FILE_PATH = ""%s/logs/""%PROJECT_PATH
^
"SyntaxError: unexpected character after line continuation character"
how can i solve that
pls help,
Thanks in advance!!!
The text was updated successfully, but these errors were encountered:
i want to use dinette for forum in my django project
after install dinette
i am add "dinette", in install app
After when i give syncdb command so it give following error
"AttributeError: 'Settings' object has no attribute 'LOG_FILE_NAME'"
After that i am add setting for that in settings.py
like,
LOG_FILE_NAME = "test.log"
LOG_FILE_PATH = os.path.join(PROJECT_PATH, "logs")
so it gives error like
"NoSectionError: No section: 'formatters'"
After that i am add
LOG_FILE_PATH = "%s/logs/"%PROJECT_PATH
so still give same error
than i am replace with
LOG_FILE_PATH = ""%s/logs/""%PROJECT_PATH
so now it give error for
LOG_FILE_PATH = ""%s/logs/""%PROJECT_PATH
^
"SyntaxError: unexpected character after line continuation character"
how can i solve that
pls help,
Thanks in advance!!!
The text was updated successfully, but these errors were encountered: