Hello!
-- I am quite new to django. I have been creating a virtualenv project, where I have have installed the Zinnia-blog following the instructions on their web page.
The directory structure on my project is like this:
├── design
├── django_project
│ ├── admin
│ ├── django_project
├── __init__.py
├── __init__.pyc
├── settings.py
├── settings.pyc
├── urls.py
├── urls.pyc
├── wsgi.py
└── wsgi.pyc
│ ├── fabfile.py
│ ├── fabfile.py~
│ ├── fabfile.pyc
│ ├── manage.py
│ ├── media
│ ├── myapp
│ ├── slav0nic-djangobb_project-9e331fc82d25 ├── basic_project
│ ├── djangobb_index
│ ├── forms.py
│ ├── __init__.py
│ ├── local_settings.py
│ ├── manage.py
│ ├── media
│ ├── settings.py
│ ├── sitemap.py
│ ├── static
│ ├── templates
│ └── urls.py
└── requirements.txt
│ ├── south
│ ├── statics
│ ├── templates
│ ├── tip.tar.gz
│ ├── uploads
│ └── zinnia├── config.rb
├── css
├── img
├── js
└── sass
├── docs
│ ├── command_reference
│ ├── command_reference~
│ └── troubleshooting
├── README.rst
├── README.rst~
└── requirements.txt
So the zinnia blog, is working as expected, while the DjangoBB forum is not working at all when trying to brows for the localhost/forum path!
Whats confuses me is the fact that the DjangoBB forum directory (slav0nic-djangobb_project-9e331fc82d25) contains it's own settings.py and urls.py.
I already have these configurations files in my overall django project. Is there some way to combine these settings together in the main project configuration?
And I also wonder what is the difference between install an app like zinnia, using pip and then adding zinnia to the main settings.py under INSTALLED_APPS.
And installing it like this as I did for djangoBB:
wget https://bitbucket.org/slav0nic/djangobb_project/get/tip.tar.gz tar zxvf tip.tar.gz cd slav0nic-djangobb_project-tip/ pip install -r requirements.txt cd basic_project/ touch local_settings.py # set DATABASE ./manage.py syncdb --all ./manage.py collectstatic
./manage.py runserver
I will be happy for all hint/tips etc. on how to glue together 2-part apps on a project.
Thanks in advance for your help!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment