Closed mikehomee closed 8 years ago
I installed django on my ubuntu 14.04 desktop. now my error is
Traceback (most recent call last):
File "./manage.py", line 2, in
Hi @mikehomee - I'm afraid I haven't been working on this of late - very likely that the latest django has moved on and my code doesn't work with it. Please take a look at this pull request. I haven't been able to merge it yet but it might help solve the issues you're seeing - the submitter has been working to get the project "refreshed". Good luck.
Thanks @phunt!
No problem.
HI @mikehomee ....first of all you have to install "sudo apt-get install libzookeeper-dev". then create zookeeper_dashboard inside zookeeper_dashboard_master. fire below commands: unzip zookeeper_dashboard.zip cd zookeeper_dashboard-master mkdir zookeeper_dashboard mv * zookeeper_dashboard mv zookeeper_dashboard/manage.py ./
change inside .manage.py with import os,sys if name == "main": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "zookeeper_dashboard.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
Setting.py
TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader',
)
Installed apps: 'django.contrib.staticfiles',
STATICFILES_DIRS = ( os.path.join(BASE_DIR, "media/css"), ) STATIC_URL = '/css/'
urls.py
if settings.DEBUG:
urlpatterns += patterns('',
(r'^css/(?P
go with that procedure you have to run django and your monitoring will be start
I'm sorry for being noob. But I need help. Please....
Traceback (most recent call last): File "./manage.py", line 2, in
from django.core.management import execute_manager
ImportError: No module named django.core.management