You will need to get the contents of the src/idea directory into your Django project. The simplest way to do this might be a symbolic link.
mydjango_project/
|- idea/ (includes models.py, views.py, etc.)
|- mydjango_project/ (settings.py, url.py, etc.)
|- manage.py
|- etc etc etcHello,
this pretty much depends on your environment. I, personally, use virtualenv and pip, so most likely will install such an external app like this:
pip install git://my.favourite.provider/awesome/app.git
If you use your system python, with a system-wide installed django, then you may either want to install this new app into a system-wide python directory, or simply inject it into your application's structure (which, in turn, may mess up your version control system, if you use any; and you should).
Best,
Gergely
--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b5f3a14a-a487-4459-843f-ca7d560beff9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,
as you didn't say which module you downloaded from GitHub, I cannot give you exact information. Most Python modules have a ”setup” system, which will copy all installable components to their place. If you can't (or don't want to) install a module, you have to copy these files manually.
From your question I guess that this module has all its files under appname/src, so I think it will be enough to copy the src folder next to your app directory, with a sane name (e.g. extmodule). After this step, you can use extmodule as if it were your own app, like inserting it into INSTALLED_APPS, etc.
However, the way you want to do it can really mess up things, especially when a new version of this app gets released. You should install (and I mean install, not just copy) the app system-wide, or into your own home directory (and in this case add the location to PYTHONPATH). I personally suggest to use virtualenv, which makes this above process a child's play :)
Best,
Gergely
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7c4520d1-d6ce-4905-bb32-284e18bfc382%40googlegroups.com.