#6080: Add support for loading Django apps from egg-files
-----------------------+----------------------------------------------------
Reporter:  jezdez      |       Owner:  jezdez                          
  Status:  new         |   Component:  Core framework                  
 Version:  SVN         |    Keywords:  setuptools apps eggs sprintdec01
   Stage:  Unreviewed  |   Has_patch:  1                               
-----------------------+----------------------------------------------------
 Setuptools' pkg_resources allows module loading from egg-files, which is
 also applicable for Django apps. The attached code enables Django to load
 apps from locations defined in a APP_DIRS list. All modules having the
 entry_point defined in APP_ENTRY_POINT (default: django.apps) found in
 these directories are automatically loaded and added to the INSTALLED_APPS
 list.

 Please keep in mind to use the
 'django.template.loaders.eggs.load_template_source' in TEMPLATE_LOADERS to
 load templates from eggs.

 More information on using Django with setuptools in my weblog entry:
 http://jannisleidel.com/2007/11/using-django-with-setuptools/

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6080>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to