Tuesday, March 10, 2015

Re: How to get/assign the contents of the app code directory into my Django project

Hello,

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

On 10 Mar 2015 22:47, "jaisol" <jaisol@gmail.com> wrote:
Hi,

Sorry to ask such a silly question.... I just cloned a Django app via git and I want to get the contents of the app code directory into my Django project.

The Readme.md says the following but I don't get it :-(

Folder Structure

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 etc
Any advice or guidance would be greatly appreciated !!

Thanks!

--
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.
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.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACczBU%2B5SRKRncZmQfh7gapjXeQOVwc_-kjt8ro_ZAzOcxiD7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment