7;m the author of the post).
-Jacky Tian
On Monday, September 16, 2013 3:43:04 PM UTC-4, Adam wrote:
>
> Maybe this is something well known.
>
> I'm using STATIC_URL in my templates. Worked perfectly in Django 1.4.x.
> Upgraded to v1.5.2. Now STATIC_URL ONLY works when t
Are you using the development server with `python manage.py runserver`? If
you are, the static files for the admin should just work. If they don't,
you may have messed up something in your settings.py.
Otherwise, if you're serving your project from a webserver like Apache or
nginx, run `python
e, and I'm
wondering if it's better practice to dynamically resize them server-side
based on the width of the viewport, or to just serve the full-size images
and scale with CSS?
Thanks
-Jacky Tian
--
You received this message because you are subscribed to the Google Groups
"Django use
rver?
You shouldn't need to change the slashes in your path, Python handles that
for you.
-Jacky Tian
On Friday, June 21, 2013 11:34:16 AM UTC-4, Nigel Legg wrote:
>
> In the path shown in my previous email, documents is a subdirectory of the
> media directory, which is set in se
What does your project directory tree look like? I suspect the error has to
do with where your documents/ directory is located in relation to the
working directory. Try loading the document using a path relative to your
project root.
-Jacky Tian
On Friday, June 21, 2013 9:29:20 AM UTC-4
Django settings are meant to be immutable, so your issues might be stemming
from the way you're changing settings at runtime. Most Django projects that
need to adjust settings at runtime do so by keeping the mutable settings in
the database (e.g. a separate app in the project), so that's an appr
Add 'myapp' to your INSTALLED_APPS in settings.py, right now Django doesn't
know that myapp is an existing package.
On Thursday, June 20, 2013 3:06:12 AM UTC-4, sanju wrote:
>
>
>
> Hi I have problems with import error in django. Tried looking
>
> into all possible solutions in Google, but in va
7 matches
Mail list logo