Hi Ryan,

I'm not sure if it helps but not long ago I found this by Simon Willison on
Quora:
http://www.quora.com/Django/How-do-you-organize-the-code-in-your-Django-project

Cheers,
Elena :)

---
Elena :)
@elequ
04022 90172



On Sun, Nov 4, 2012 at 10:23 AM, Ryan <[email protected]> wrote:

> Hi,
>
> I have been wondering where people put their non-app-specific static files
> in their django projects?  For example, the base css file that applies to
> all pages across the project or perhaps the jquery file?
>
> Currently I have the following structure:
>
> .
> ├── app
> │   ├── __init__.py
> │   ├── models.py
> │   ├── static
> │   │   └── app
> │   │       ├── css
> │   │       ├── img
> │   │       └── js
> │   ├── templates
> │   │   └── app
> │   ├── tests.py
> │   └── views.py
> ├── manage.py
> └── mysite
>     ├── __init__.py
>     ├── settings.py
>     ├── static
>     ├── templates
>     ├── urls.py
>     └── wsgi.py
>
> My STATIC_ROOT setting points to the ./mysite/static directory as this is
> where I would like collectstatic to dump all the static files for
> deployment, however this is also the obvious place (for me anyway) to place
> non-app-specific static files as they apply to the project as a whole like
> the templates directory at this level.
>
> Does any one have any input on this?
>
> Thanks,
>
> Ryan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/4H39KqmnTugJ.
> 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-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.

Reply via email to