So, I apologize for another topic focused on Django project and app structure, but every resource I've found is either outdated or incomplete.
What I am trying to accomplish is the creation & incorporation of pluggable django applications that are NOT dependent in ANY way on the project that uses them. For those of you that have tried the official django tutorial, you can see that the tutorial has new users creating apps that are heavily dependent upon their surrounding project(s). In an attempt to resolve this issue myself, I have come up with the following directory structure, but am still having some issues: /home/website/djangoproject/settings.py /urls.py /manage.py /home/website/djangoapp/models.py /admin.py /url.py /views.py /templates/ In my application (located in djangoapp/), none of the files reference the external project (djangoproject/), as it should be. In my djangoproject/settings.py file, I have djangoapp added in the INCLUDED_APPS variable. In the django admin interface, I can then see forms for my corresponding models. I can't actually do anything yet in the admin interface however, as the corresponding tables in the database have not been created yet (I haven't run syncdb yet). When I try to run syncdb, manage.py returns an error saying that my app (djangoapp) could not be found. I've tried to add the URL of the app to the system path so that it would be accessible from external directories - to do this I've tried adding the absolute URL of my app to my project's settings.py file, but either it doesn't work, or I'm doing it wrong: sys.path.append('/home/website/djangoapp') Does anyone know how I might continue with this approach, or, alternatively, does anyone know of a better, simpler approach to including applications in their existing Django projects without backwards dependencies? Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.