SELKS
SELKS copied to clipboard
Admin page
Hello, why can't we access to the Django admin page ? to modify some text info?
Could you explain a bit what do you need exactly?
In the html code there is some django code {{admin somehting}} i want to access to the admin page to modify some text
I was just helped by a colleague :
Try to overwrite the INSTALLED APPS settings in /etc/scirius/local_settings.py and add
django.contrib.admin
Thanks ! i am gonna text it Monday !
Hey, there is no "installed app" section in this file :/ i have a lot of django stuff but not this section
You can add that section then and try like that.
Done, but can you give the me the full command or modification after adding the django.contrib.admin ?
Then it should be to just point it to the url and add /admin/ at the end.
This is what i have added but now sciruis failed to start
something like
https://github.com/StamusNetworks/scirius/blob/5550ef4e9db12a0514727984b40c848b625d580c/scirius/settings.py#L34 but add the django.contrib.admin
Ok but in the settings then not in local_setting.py
Still crashing when i am adding the django.contrib.admin part
Still the same problem :/
What is the err message ?
no error, just sciruis can't go up again
Sorry - you mean , does not start or does not display anything or ?
No display , just scirius can't start (only failed)
ok - is there any err in the logs - /var/log/scirius...?
Well not anymore since i have re installed the machine ahah. Can i have the exactly stuff ?
/var/log/scirius-error.log
/var/log/scirius.log
/var/log/scirius/elasticsearch.log
I was talking about adding the admin page :)
Showing these logs right now is useless since i have re installed all the machine
I'm not sure the admin interface will allow you to change a template. You need to go directly in the templates directory to do that.
Yeah but it's for modifying the text or else etc