-
roflmyeggo has quit
-
FunkyBob
l10n :)
-
mstrcnvs
darn
-
phorloop joined the channel
-
but pretty such language translation is i18n, am I wrong?
-
sorato has quit
-
aristippos joined the channel
-
aristipp_ has quit
-
FunkyBob
yes
-
greydawg joined the channel
-
mstrcnvs
darn again
-
FunkyBob
yes, it's i18n,,, no yuo're not wrong
-
jdqx
-
mstrcnvs
don't try to fool me
-
alexhaye1 has quit
-
jdqx
^ the results are not polymorphic in shell_plus, but they are on the actual template results from the server.
-
you can see the difference regardless
-
alexhaye1 joined the channel
-
DiCablo has quit
-
alexhaye1 has quit
-
maybe this should be added to django-polymorphic
-
alexhaye1 joined the channel
-
nimomo joined the channel
-
mstrcnvs
jdqx: what's a polymorphic result?
-
jdqx
mstrcnvs: the querysets consist of objects of various sub-classes. so various elements in the queryset have different fields.
-
alexhaye1 has quit
-
mstrcnvs
so you have multi-table inheritance and Activity is the parent class, ok
-
AndroUser joined the channel
-
jdqx
yes
-
has allowed me to write 1 template where otherwise there would be dozens
-
alexhaye1 joined the channel
-
aossama has quit
-
arthurl joined the channel
-
and 1 view
-
retailify joined the channel
-
FunkyBob
zoiks
-
I think my plans for my django asset tool... just materialised
-
alexhaye1 is now known as ahayes
-
ahayes has quit
-
jrabbit
FunkyBob: orly
-
nimomo has quit
-
aossama joined the channel
-
FunkyBob
indeed
-
blommer has quit
-
blommer joined the channel
-
now I need a name for this project
-
or did I make one already?
-
alexhayes has quit
-
pedrito
FunkyBob: you won't ever run out of pasta
-
alexhayes joined the channel
-
FunkyBob
pedrito: heh
-
pedrito
though it'd be impressive if you did
-
FunkyBob
alexhayes: quick! I need a name for my replacement for staticfiles et al!
-
pedrito
then you could start a company named 'Italy' to market them all
-
FunkyBob
haha
-
jlillest has quit
-
retailify has quit
-
pedrito
mmm, pasta, been a while
-
arthurl has quit
-
zivester has quit
-
zivester joined the channel
-
kingarmadillo has quit
-
retailify joined the channel
-
FunkyBob
django-chattels ?
-
mstrcnvs
wut
-
domino14 joined the channel
-
django-inertia
-
:D
-
FunkyBob
?
-
mstrcnvs
static, inertia, no?
-
domino14_ joined the channel
-
FunkyBob
mmm
-
mstrcnvs
I'm sorry I did my best
-
FunkyBob
I see where you're going with this
-
:P
-
AndroUser has quit
-
mstrcnvs
wait
-
I heard replacement for staticfiles?
-
FunkyBob
yes
-
mstrcnvs
you dare
-
FunkyBob
I dare
-
mkrza joined the channel
-
mstrcnvs
tell me more about it
-
surfnturf_ joined the channel
-
can I store assets remotely?
-
FunkyBob
recently when writing my own asset pipeline tool I found at least one glaring flaw
-
can you elaborate on what you mean there
-
mstrcnvs
hm
-
no, no, go on
-
FunkyBob
fark... i need a proper desk here :
-
:(
-
domino14 has quit
-
anyway... in some reasearch, I've found there are basically 2 build flows for assets
-
either (a) a new file is created by processing a bunch of source files explicitly [i.e. combining and minifing JS/css]
-
or (b) a new file is created by compiling a source file, which imports its deps
-
mkoistinen joined the channel
-
mstrcnvs
hm
-
isn't compiling simply preprocessing thus leaving only the (a) flow?
-
never had to _compile_ some asset
-
FunkyBob
scss and less require compiling
-
mstrcnvs
I do use SASS, but ok, go on
-
domino14_ has quit
-
FunkyBob
so the two problems I found with staticfiles and my "mangle" tool
-
staticfiles copies everything to the destination, and THEN calls post-processing
-
mangle has, currently, no way to work in development
-
fabiobatalha has quit
-
aavrug joined the channel
-
fabiobatalha joined the channel
-
mkrza has quit
-
mkoistinen has quit
-
Zerk_
ok name it greca
-
FunkyBob
?
-
why?
-
domino14 joined the channel
-
Zerk_
idk its just a spanish word for a tool that is used to process coffee lol
-
FunkyBob
i see
-
Coldblackice joined the channel
-
holler joined the channel
-
JohnnyZ_ joined the channel
-
SmileyChris has quit
-
domino14_ joined the channel
-
domino1__ joined the channel
-
anth0ny_ joined the channel
-
domino14 has quit
-
holler has quit
-
holler joined the channel
-
domino14_ has quit
-
holler has quit
-
holler joined the channel
-
mkrza joined the channel
-
Zerk_
do you make model diagrams and db diagrams before coding something ?
-
FunkyBob
sometimes
-
surfnturf_
I want to check if I'm the owner of an object before deleting using a CBV. is self.object available in dispatch?
https://dpaste.de/wpbv
-
Also, I presume I should use return to Http_refere if it fails the test?
-
holler has quit
-
TraceEv joined the channel
-
holler joined the channel
-
detseg joined the channel
-
FunkyBob
depends on how you define "owner"
-
surfnturf_
the object has an field "author"
-
domino14 joined the channel
-
audio has quit
-
in my dpaste I show the check I would use
-
FunkyBob
then just filter by author=request.user in the get_queryset
-
surfnturf_
what if it comes up None
-
FunkyBob
then they get a 404
-
surfnturf_
i'd rather send a warning message
-
FunkyBob
afk
-
Guest80463 has quit
-
domino1__ has quit