[Dev] Update of web site code (parabolaweb)
fauno at kiwwwi.com.ar
Thu Dec 1 04:35:52 GMT 2011
El 30/11/11 10:02, Luke T.Shumaker dijo:
> At Thu, 1 Dec 2011 00:00:07 +0100,
> Johannes Krampf wrote:
> > Just a short note: If you set debug to True in local settings, media
> > URLs should work automatically.
> So is it nescessary to set DEBUG=True in order for /media to work? That
> sounds like a bug. How is DEBUG set on the main server?
> > My tests were done with sqlite3, I got the same errors with innodb as
> > Luke. I haven't tried with postgres or myisam. I could successfully
> > run the server, but I had no fixtures loaded for my limited tests.
> Now I've tried MySQL MyISAM with DEBUG=true, and discovered that I get
> the same stacktrace as I did with sqlite3, so that appears to be
> something else I fouled up in between (sqlite3 was the last thing I
> did yesterday).
we are using debug=false and
## location for saving dev pictures
MEDIA_ROOT = '/srv/http/web/media/'
## web url for serving image files
MEDIA_URL = 'http://parabolagnulinux.org/media/'
but we aren't using the virtualenv nor the pip packages.
xmpp:fauno at kiwwwi.com.ar
OTR: C0CB1F0F 01DB5E18 2D634C2A A4626858 E7C7C3A2
"Freedom [...] is messy" ~ Eben Moglen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the Dev