Commit graph

4 commits

Author SHA1 Message Date
wiz
aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00
asau
5eae6a18a3 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-28 06:30:00 +00:00
adam
4ac68290e9 Removed junk line 2012-01-08 07:51:20 +00:00
adam
43e9bddb89 The intention of this application is to enable static app files (css, js, pics)
in the app folder itself.
        <application1>/media/<application1>/js/script.js
        <application2>/media/<application2>/js/script.js
        <project>/media/logo.jpg

To use this view in development you should add something like the following to
urls.py:
        if settings.DEBUG:
          urlpatterns += (r'^media/(?P<path>.*)$', 'site.media.serve_apps',
          {'document_root' : settings.MEDIA_ROOT})

For deployment there is a managament command called `symlinkmedia` that will
create symlinks to each applications media directory in `MEDIA_ROOT`.

Now all apps in INSTALLED_APPS that have a "media" directory in them will be
reachable as '/media/<application_name>/'.

You can then have the admin media files served by setting
        ADMIN_MEDIA_PREFIX = '/media/admin/'
2011-02-17 18:07:29 +00:00