hi, i am getting a error in my app, UncompressableFileError: 'css/asmselect/jquery.asmselect.css' isn't accessible via COMPRESS_URL ('/static/') and can't be compressed
lacrymology has quit
anybody already have this issue?
tau joined the channel
shredding joined the channel
kennethlove joined the channel
__love__ has quit
kingarmadillo joined the channel
flobin joined the channel
fission6 has quit
shredding has quit
beastDivision joined the channel
eperzhand has quit
theWhisper_ joined the channel
ahayes joined the channel
anyone?
ahayes has quit
jas02 joined the channel
ahayes joined the channel
ahayes
Anyone have any tips on how to get spatialite db backend working on OSX in python3?
newdimension has quit
beastDivision has quit
JZA has quit
__love__ joined the channel
raijin joined the channel
theWhisper_ joined the channel
kennethlove has quit
ddiet has quit
flobin has quit
Greench has quit
eperzhand joined the channel
eperzhand has quit
hutch34 joined the channel
ironfroggy joined the channel
hutch34 has quit
tsukasa_ has quit
woltman4 joined the channel
NomadJim has quit
NomadJim joined the channel
woltman has quit
woltman joined the channel
raijin has quit
tsukasa_ joined the channel
woltman4 has quit
inaciano has quit
ironfroggy has quit
tau has quit
ironfroggy joined the channel
ironfroggy_ joined the channel
ironfroggy has quit
raijin joined the channel
JZA joined the channel
raijin has quit
raijin joined the channel
woltman4 joined the channel
woltman has quit
ahayes has quit
miz- has quit
jonez has quit
fujii_ has quit
netheranthem has quit
fujii joined the channel
hutch34 joined the channel
jonez joined the channel
EyePulp joined the channel
toothe joined the channel
toothe
I have a table called System with a ManyToManyField of type Asset. Is there a way to check if a particular Asset is within any given System?
beastDivision joined the channel
javawolfpack joined the channel
javawolfpack
anyone use django-compressor?
lamby
javawolfpack: Better to just ask your actual question than ones like that.
but I can’t figure out where the “third_party/react_compressor.py” needs to go… as I keep getting errors loading it
raijin has quit
Bryson joined the channel
get “compressor.exceptions.FilterError: /bin/sh: 1: third_party.react_compressor.ReactFilter: not found” as an error when the page tries to load w/ the {% compress js %} template embedded
I have the init file in the folder, and have tried the base & project folder but keep getting errors with it not loadin
Ignore me… I think the issue is I’m missing a package, that I thought was installed… and then it’s giving me a misleading error :’( fingers crossed it was something that stupid
Bryson
i have a question about default_storage: when I use default_storage.open(filename, ‘rb’), I get `FileNotFoundError: [Errno 2] No such file or directory` if I include any folders in the filename path, but it works if the filename is only the filename and extension, no path information. why is this?
kingarmadillo joined the channel
beastDivision has quit
woltman4 has quit
orf_ has quit
jonez
Bryson, what distro?
Bryson
question no longer valid. :) turns out it was failing because it needed to create a directory that doesn’t exist in order to open the file. seems like creating the file is no problem, but creating the directory is a problem.
beastDivision joined the channel
(the file doesn’t exist either, i was trying to create a new file in a new directory with default_storage.open())
jonez
you prolly should be calling mkdir
open() will not create directories
Bryson
my file backend is S3, so mkdir won’t work
jonez
I have no idea how their S3 thing works.. but they must have *some* provision for creating directories
raijin joined the channel
Bryson
looks like S3 has no problem creating directories with .open(), but in dev with the standard django storage backend, it fails. so now i have no way to make production and dev work the same, hooray…
woltman4 joined the channel
toothe
how do you print a form WITHOUT table syntax around it?
beastDivision has quit
kbck_ has quit
jas02 joined the channel
splendor has quit
hutch34 has quit
I have a formset_factory that uses a Form which takes an initial argument. How do I pass that initial argument over?