FunkyBob ▸ you have any 'easy deploy django (maybe with channels?)' guides on hand?
drodger has quit
i want to host my django app myself for the first time
massover joined the channel
TakinOver joined the channel
cyphase joined the channel
drodger joined the channel
chicocvenancio has quit
thinkt4nk joined the channel
milardovich has quit
cyphase has quit
cyphase joined the channel
fission6 has quit
SamSagaZ__ has quit
tourdownunder has quit
tourdownunder joined the channel
SmileyChris joined the channel
adamchainz has quit
tourdownunder joined the channel
Troy^ joined the channel
cyphase joined the channel
thinkt4nk has quit
shosca has quit
gugah joined the channel
mbryantms joined the channel
mbryantms
I have a markdownx field that works to real-time render emoji, video, html, etc. as content is being created. However, it's saving content as the markdown text rather than html...which causes it to be displayed as markdown rather than content on the site. Is it possible to save it as HTML or use markdown to render content?
cyphase has quit
Koterpillar
mbryantms: better save as markdown, otherwise how will you be able to recover from an error in the converter? Or even how would you edit it afterwards?
mbryantms
True, then I guess I'm trying to figure out how to render the saved markdown on a view...
Koterpillar
how is it rendered in your editor?
mbryantms
I can query it and display it in a template using "|safe" but emoji and others don't display. ---- It is rendered using a markdownx field in the admin section but doesn't display the same when in the view
Troy^ joined the channel
Koterpillar
it looks like the project isn't that mature. Try registering 'markdownify' as a filter and using that.
cyphase joined the channel
mbryantms
I'll give it a shot...thanks for the help!
trevortwining joined the channel
jhfisc has quit
jhfisc joined the channel
ahrs has quit
mastizada has quit
ahrs joined the channel
tchalla joined the channel
Troy^ has quit
cyphase has quit
Biwaa joined the channel
tourdownunder has quit
thinkt4nk joined the channel
Biwaa has quit
cyphase joined the channel
Lobstaman3 joined the channel
john2x joined the channel
hutch34_ joined the channel
SimpleName joined the channel
kupi has quit
cyphase has quit
adwin_ has quit
Biwaa joined the channel
tourdownunder joined the channel
SamSagaZ__ joined the channel
Ne0nd0g has quit
cyphase joined the channel
Biwaa has quit
jnoob22
mbryantms, is this your package, this markdown?
I am looking for a good markdown editor to incorporate into the admin console. TinyMCE always feels ... meh.
mbryantms
Which package? I figured out a solution...I'm using markdownify in the view and iterating over the values before serving it to the view
Before serving to the template I mean
jnoob22
ah ok ... is this using a Django package perhaps or a Python one? or maybe this is completely rolled by you.
you get 'managerset' by default from django. if it makes sense, it's always nice to rename it and use the plural
_ursan_ has quit
KnownSyntax joined the channel
amcorreia
yes, but in this case will be like "managers__managers=user" seems weird to me
Lobstaman3 has quit
tortal joined the channel
ycon_ joined the channel
kloudi has quit
br0d1n has quit
mbryantms has quit
maks25 joined the channel
tdy joined the channel
sandwichheat joined the channel
MarkTheMark has quit
tchalla has quit
tchalla joined the channel
sandwichheat has quit
tchalla has quit
newdimension__ joined the channel
MarkTheMark joined the channel
maks25 has quit
mucco has quit
steam_bell joined the channel
steam_bell
FunkyBob: Thanks for your help recently. I finally deployed my page. Just took me days >,<
lb1c has quit
lb1c joined the channel
Koterpillar
steam_bell: your first site? congratulations!
steam_bell
Koterpillar: yes, I did it all backwards I know. I wanted to deploy as my first step. So now I need to develop the actual project
jessamynsmith joined the channel
Koterpillar
you'll deploy more than once anyway
steam_bell
I figure
I simplified it as well by skipping virtualenv
Koterpillar
on the server? that's not a good idea
steam_bell
I know
but know I think I could actually make virtualenv work too
*but now
Koterpillar
is your server disposable?
steam_bell
not sure what you mean by that
archangelic has quit
Koterpillar
imagine your server is consumed by fire, but insurance gives you a new one just like it. How upset will you be?
steam_bell
it's just a debian vm on google cloud, so... unless all of google burns up :p
Koterpillar
good then
steam_bell
I do have a concern that I haven't been able search answers for. I was getting 403 errors, and I was able to fix it by changing my user permisions to drwxr-xr-x