that link was exactly what I wanted so I didn't search further
SimNim_ has quit
SimNim joined the channel
patallen
@cnk awesome, thanks
I was hoping to have a server that I could use for mail from several applications... but this looks easy enough to implement
silentninja95 has quit
skeuomorf joined the channel
SimNim has quit
SimNim_ joined the channel
Guest28635 has quit
bigobony joined the channel
cyphase joined the channel
Tyris has quit
logankopas has quit
Tyris joined the channel
lxer has quit
Tyriss joined the channel
sh_roux joined the channel
SimNim_ has quit
SimNim joined the channel
elyezer joined the channel
dray3 joined the channel
Tyris has quit
Tyris__ joined the channel
sudomarize has quit
stwe has quit
Tyriss has quit
dray3 has quit
RicoAlpha has quit
microdex has quit
Andy80 joined the channel
QuestPC joined the channel
bwreilly joined the channel
jtiai
patallen: Another option is docker and premade images.
QuestPC
Hi! Why formset.empty_form is such outdated? Replacing string __prefix__ is not very reliable if such text will be encounered in content. Also manipulating of inline forms via jQuery is cumbersome. There are more suitable libraries for that like knockout.js and angular.
I am having troubles trying to convert these __prefix__ to knockout.js data-bind. I wish it generated proper data-bind out of box.
microdex joined the channel
jtiai
QuestPC: Err... What is your question?
QuestPC
There is also huge problem that knockout expects all foreach elements to be generated client-side while with inline formsets some might be server-side while another ones added at client-side.
zz_theskumar is now known as theskumar
jtiai: formset client-side support is outdated. I found only one mention of using knockout.js with formsets and no code. Trying to implement myself with many obstacles.
jtiai
QuestPC: How that is "outdated"?
QuestPC
jtiai: Yes that's the tragedy of client-side. Only jQuery is commonly accepted while another libraries are incompatible and no totally accepted one.
sh_roux has quit
jtiai
QuestPC: Django is totally js library agnostic...
kushal joined the channel
QuestPC
jtiai: Not really admin includes jquery. And there's module that allows manipulating formsets via jQuery but I did not like it.
patallen has quit
jtiai: today is not easy to not have anything at client side. Possible but not nice, For example for datetime fields.
jtiai
QuestPC: I've written several SPA without any problems with Django, mostly using dojotoolkit and extjs...
QuestPC
jtiai: Do you have open-source clientside formset add / delete code? But extjs is superheavy, it's much heavier than angular while knockout.js is small light and fast.
RicoAlpha joined the channel
jtiai
QuestPC: Nope. I work mostly with Restful interfaces. Much more simpler to work than trying to play with dynamic formsets.
theskumar is now known as zz_theskumar
delgiudices joined the channel
QuestPC
jtiai: Yes I wrote such things with ajax-only responses and knockout.js. But there might be problem with web crawlers not indexing such pages. Maybe that's fixed now - I do not know.
jtiai: Also server-side formsets are quite powerful.
sudomarize joined the channel
incnspcus has quit
incnspcus joined the channel
garrypolley joined the channel
QuestPC has quit
garrypolley has quit
garrypolley_ joined the channel
SteenJobs has quit
SteenJobs joined the channel
silentninja95 joined the channel
silentninja95 has quit
silentninja95 joined the channel
crakrjak joined the channel
zz_theskumar is now known as theskumar
quansai
I don't know how to explain this, but django-pipeline browserify isn't loading any of my files.
But I'm not seeing any errors.
theskumar is now known as zz_theskumar
SimNim has quit
silentninja95 has quit
coderzm has quit
lrq joined the channel
lrq
Hi I’m new to irc and I have a question on how to solve an issue of mine
AndyRez has quit
I’m currently writing a Shopify app with django and I’m trying to use a class as a container for some information
RicoAlpha has quit
I seem to be getting an error stating that Object is not JSON serializable
jtiai
lrq: Welcome to #django || Please provide code and __full__ traceback in a pastebin || Pastebin at: http://dpaste.de/ -- do not use pastebin.com!
lrq: Ok, Django session serializer was changed from pickle to json due security problems. Thus what ever you put in session it must be serializable to json.
lrq
So how would I go about making my class serializable to json?
Thanks for the help btw
jtiai
lrq: Well you have to way to figure you how to convert your class to json or some primitive data like dicts and lists)
lrq: ... that can be serialized as json.
solidvance
what fields are you trying to serialize?
lrq
since I access all of the fields in a different view I guess I have to serialize all of them. Never did anything with serializing before
django737 joined the channel
jtiai
lrq: Main problem you do have is that you just can't store arbitrary objects to session. You must do something for them that thay may be serialized as json.
lrq
Is there another way to store data that doesn’t have to be serialized as json?
jtiai
lrq: Like first question is, are you absolutely sure that you need all that stuff in session?
Tyris joined the channel
lrq
I place all of that information in session as I need to access the information in the next view/template
apollo13
like what?
lrq
I kinda have a confirmation page
django737
Have a django-celery question: My tasks seem to have stopped processing, but if I rename them, they work fine.
apollo13
you do not need a session for that
SDCDev has quit
django737
Why would a task stop working when I restart the application, but if i rename the task and restart the app, it works?
lrq
How else should I pass information between views? Global variables I’ve read is a security issue
are*
apollo13
as POST or GET params
lrq
So if I pass the information with POST I don’t need to serialize my class?
cssko joined the channel
Tyris__ has quit
apollo13
POST can only pass strings along
(more or less at least ;))
polpak
lrq: what information are you trying to pass around?