twoolie: awww... why don't you and schinckel go to a pub and comisserate about it over a few beers :P
elbaschid
maybe we should do melbdjango roadtrip...with tour bus and all that ;)
FunkyBob
well, we already had a MelbDjango in Hobart, so...
elbaschid
true that
that was fun :)
ifdef42
so the filesizeformat filter is neat, particularly now that I see it automatically i18ns its output...
is there an equivalent method i can use from within python code that would get i18n for free?
eg MB -> МБ in Russian
FunkyBob
elbaschid: being in a pub didn't hurt :)
g0RT joined the channel
epicowl joined the channel
nickpresta has quit
elbaschid
it never does ... unless you start picking a fight, that is
FunkyBob
even then... :P
blah... guess it's time I learned to Sphinx... so nap can be on RTD
kbambz has quit
subleq joined the channel
NomadJim has quit
loic84 joined the channel
subleq
I'm trying to combine a modelform and a non modelform together by subclassing both, but fields from the non model form are being ignored. https://dpaste.de/MIyw
johnkevinmbasco joined the channel
zerick has quit
brainwarped has quit
culturelabs has quit
JimmyNeutron has quit
hoody_k has quit
alp82 has quit
FunkyBob
subleq: why would you combine them?
subleq: you can use more than one Form class to process a single submit
hyperair has quit
NomadJim joined the channel
keving has quit
subleq
FunkyBob: I know...my situation is...complicated
I might end up having to do that, but I think it would be nicer if I could combine them
FunkyBob
perhaps if you told us.... more... we might be able to help
zhost has quit
quetzakubica joined the channel
vdboor_ joined the channel
EvilDMP has quit
g0RT has quit
vdboor has quit
vdboor_ is now known as vdboor
dxdt joined the channel
[diecast] has quit
atlasloewenherz has quit
atlasloewenherz joined the channel
foist has quit
bradfordtoney has quit
guhcampos has quit
rmaceissoft joined the channel
systemocks joined the channel
SamSagaZ has quit
atlasloewenherz has quit
ctcg has quit
z0ran has quit
rmaceissoft
Hi, running collectstatic I wanna ignore a subfolder but it doesn't work. Even using this command
./manage.py collectstatic --ignore=site/node_modules site/node_modules folder is copied
subleq
FunkyBob: I've got a form class generated by a dynamic form builder (the user builds a form from our ui), and I need to add some fields to it that come from a model, so I'd like to use a model form. It's more convenient to treat the whole thing as a single form instead of two
rmaceissoft
any idea?
basti-mbp joined the channel
dray3 joined the channel
busla has quit
Titanomachy has quit
bradfordtoney joined the channel
FunkyBob
rmaceissoft: why do you want to ignore some of your static media?
subleq: I see
Titanomachy joined the channel
subleq: I'd look at doing a custom one-step form building
jrm2k6 has quit
ehmatthes joined the channel
SamSagaZ joined the channel
kbambz joined the channel
alexsnake has quit
basti-mbp has quit
Ergo has quit
rmaceissoft
FunkyBob: in the particular case of node_modules it is not needed for site in production. it's just used during building of assets
FunkyBob: and I don't want to upload that folder to my S3 bucket
FunkyBob
hmm
perhaps have an extra app in your development settings that has the non-productino static media?
subleq
FunkyBob: oh, yeah, perhaps I can just generate a modelform from the beginning
kbambz has quit
moneydouble joined the channel
ctcg joined the channel
FunkyBob
it's not hard
kbambz joined the channel
rmaceissoft
mmm
vishen joined the channel
SpinningWheels joined the channel
kbambz has quit
culturelabs joined the channel
ehmatthes has quit
FunkyBob: I would need to do considerable changes for that, I think. just trying to do easier at this point. wondering why ignoring pattern is not working for collectstatic
FunkyBob
didn't even know collectstatic had an ignore option
kbambz joined the channel
snurfery joined the channel
jroll
rmaceissoft: maybe --ignore "site/node_modules"
as in drop the = there
docs don't have the =
FunkyBob
or site/node_modules*
jroll
also, it's a glob-style pattern so maybe --ignore "site/node_modules/*