On 08-Jul-06, at 12:10 AM, Ahmad Alhashemi wrote:
> Besides, symlinking is an OS feature, not a feature of Django. I do
> all
> my development on Windows, so I can't use it.
there is a utility for that
--
regards
kg
http://lawgon.livejournal.com
http://avsap.org.in
--~--~-~--~--
Ahmad Alhashemi wrote:
> Besides, symlinking is an OS feature, not a feature of Django. I do all
> my development on Windows, so I can't use it.
You can do the same on Windows (if you use NTFS). Get junction from
Sysinternals:
http://www.sysinternals.com/Utilities/Junction.html
Use it like so:
Ahmad,
You don't even need a symlink to achieve this.
If you expect to reuse this app in multiple Django projects, just make
sure it is in your Python path and you can simply add it to your
projects' settings.INSTALLED_APP list.
This is exactly like using the Django admin app in multiple projec
Julio is right that you can use the same app in multiple Django
projects from the same common path. The key point here is that each
Django project runs in a separate Python runtime environment. This is
what makes this possible.
If you really meant using two instances of an app in the _same_ Djang
Thank you for the tip, Julio. It is sure going to be useful
practically.
But it doesn't feel right. The fact that you trick django into thinking
that there are multiple physical copies of the same application just to
use it more than once in one website.
Besides, symlinking is an OS feature, not
Sure. All Django/Python cares about is where the folder (module) is.
Here's what I do sometimes: Create an app on my /home/ dir and
symlink it inside the projects. So I am just re-using the same
codebase on different projects, and getting the benefit of its
changes/upgrades/development.
On 7
Hi,
Is it possible to use the same application more than once in the same
project?
For example, if I download a ready made weblog application, can I use
it in one place as a general purpose weblog and in another place as a
seperate development weblog?
TIA.
--Ahmad
--~--~-~--~~---
7 matches
Mail list logo