can anyone suggest how to modify a model form with required fields that validate so that the required fields don't need to be displayed in the HTML form itself?
the_drow joined the channel
collinanderson
how do you guys recommend deploying django? gunicorn? or uwsgi? something else?
mmalone joined the channel
Itkovian has quit
Itkovian joined the channel
mmalone joined the channel
m8 joined the channel
Itkovian has quit
cyphase joined the channel
lastmanstanding has quit
vlt
collinanderson: I have one django deployment using nginx and gunicorn. Works fine.
mehola joined the channel
rpkilby has quit
jfisk87 joined the channel
nethop has quit
nethop joined the channel
nethop has quit
nethop joined the channel
nethop has quit
nethop joined the channel
rpkilby joined the channel
nethop has quit
nethop joined the channel
nethop has quit
nethop joined the channel
nethop has quit
ironfroggy joined the channel
mazert_ joined the channel
bigfondue joined the channel
bigfondue has quit
p4trix joined the channel
DodgeThis joined the channel
renlo joined the channel
mazert has quit
mehola joined the channel
DodgeThis has quit
newdimension joined the channel
MattHardcastle has quit
royendgel has quit
royendgel joined the channel
collinanderson
vlt: thanks. i was running into an issue with gunicorn on ubuntu 16.04 where it would take a long time to restart my websites. turns out the system version of gunicorn is buggy but it's been fixed on pypi
Genitrust has quit
Genitrust joined the channel
vlt
collinanderson: Yeah, I’d always recommend running django and gunicorn from a venv and install the versions you need with pip.
collinanderson
vlt: i like the gunicorn-debian runner though. it makes deploying multiple websites much easier
beecushman joined the channel
MattHardcastle joined the channel
nethop joined the channel
but, yeah, i'll probably switch to using systemd directly at some point
bigfondue joined the channel
cyphase joined the channel
fission6 has quit
Mark_2 joined the channel
DodgeThis joined the channel
ubuntu_aze has quit
ubuntu_aze joined the channel
iiie joined the channel
royendgel has quit
jessamynsmith
collinanderson: I use gunicorn because I use heroku
collinanderson
makes sense
sol1x joined the channel
iiie has quit
Itkovian joined the channel
cyphase joined the channel
ironfroggy joined the channel
foxmask
did you alerady try to add a new property to the LogRecord ?
I'm following TDD with Python, and we're doing "from django.contrib.auth import BACKEND_SESSION_KEY, SESSION_KEY" I'm looking at the source of that import and I see "SESSION_KEY = '_auth_user_id'
nikivi has quit
So they're just strings, what's the big picture over here?
nikivi joined the channel
aristippos joined the channel
collinanderson
newdimension: some people like to import actual python names rather than using the string directly. it's better for catching typos. is that what you're wondering?
cyphase joined the channel
newdimension
I think. I was surprised that we're importing a string, opposed to just typing the string. I guess it makes sense to have all the configuration in one file and import it
rpkilby has quit
sieve joined the channel
rpkilby joined the channel
SuperSeriousCat has quit
cyphase joined the channel
aristippos has quit
iiie has quit
nethop has quit
nethop joined the channel
nethop has quit
nethop joined the channel
nethop has quit
nethop joined the channel
nethop has quit
jessamynsmith has quit
ubuntu_aze has quit
wub_wub has quit
nikivi has quit
jfisk87 has quit
Can some one please check my question at https://dpaste.de/T51N . I wrote it there becuase it would have been messy to type it here.
aclark joined the channel
the_rat has quit
mazert_ has quit
cyphase joined the channel
SamSagaZ joined the channel
eperzhand has quit
Oh I think it's because of SesssionBase's __setitem__ attribute. It looks like it allows SessionStore to act as a dictionary