Check this out:
https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-dirs
I put a static folder in my project root where I put all the project
specific (ant not app specific) static files. The folder's path is then
added to STATICFILES_DIRS.
But note that this static fold
That is not a bad idea as everything that is project specific, but not app
specific, would live in one place.
Thanks,
Ryan
On Sunday, 4 November 2012 15:14:43 UTC, Xavier Ordoquy wrote:
>
> Hi,
>
> One thing I've seen - and adopted - is to have one application that
> contains the static files.
Yeah, I do the same with STATIC and COLLECTED_STATIC.
--Fred
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without wall
Hi,
One thing I've seen - and adopted - is to have one application that contains
the static files.
It looks like:
> └── mysite
> ├── __init__.py
> ├── settings.py
> ├── theme
> ├── __init__.py
> ├── models.py (empty file)
> └── static
> ├── static
>
I have two project static directories, STATIC and STATIC_FILES. STATIC contains
non-app specific static files. STATIC_FILES is where static files are
"collected".
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the w
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 wrote:
> Hi,
>
> I have been won
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
│ ├── mode
7 matches
Mail list logo