I use gunicorn to deploy my project all the time, but today, in my new
project, it raise a error.
I check here and there, google around, but it doesn't work.
Maybe there was wrong with me.
So I create a new project to test, here is all my process:
$ virtualen env
$ source env/bin/active
$ pip
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
I just use Vim
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googl
it looks like you don't have the right template ! You sure you have the
right path?
2013/4/4 Vibhu Rishi
> I am not sure where I am going wrong, but the CSS files are just not
> getting picked up. I have just started a project and am using the dev
> server with the runserver command.
>
> Here's
10 matches
Mail list logo