19:00 PM
realnot joined the channel
19:01 PM
BuffaloSoldier has quit
19:03 PM
fission6
whats the recommended way of importing a custom User model in a module?
19:03 PM
OtherAllan has quit
19:03 PM
knbk
get_user_model()
19:05 PM
aalmazan joined the channel
19:05 PM
rainy-day has quit
19:06 PM
thiras has quit
19:07 PM
hop
unless you need it at import time and are not on 1.11+. then you need AUTH_USER_MODEL
19:07 PM
.oO(i think)
19:08 PM
xliiv joined the channel
19:11 PM
lacrymology has quit
19:14 PM
xliiv has quit
19:15 PM
amcorreia joined the channel
19:16 PM
thiras joined the channel
19:16 PM
ahmad0461 joined the channel
19:16 PM
szicari_ joined the channel
19:18 PM
amcorrei1 has quit
19:19 PM
theology joined the channel
19:19 PM
samuelpiecz joined the channel
19:20 PM
glumanda has quit
19:21 PM
tdy has quit
19:23 PM
ahmad0461 has quit
19:24 PM
samuelpiecz has quit
19:24 PM
encod3 joined the channel
19:30 PM
natim87 has quit
19:31 PM
encod3 has quit
19:32 PM
READ10 has quit
19:35 PM
folksilva has quit
19:36 PM
tdy joined the channel
19:36 PM
folksilva joined the channel
19:40 PM
xliiv joined the channel
19:40 PM
|oLa| joined the channel
19:40 PM
folksilva has quit
19:41 PM
folksilva joined the channel
19:45 PM
Ergo joined the channel
19:46 PM
massover joined the channel
19:46 PM
jas02 joined the channel
19:49 PM
massover
with the new user model in django 1.10, the username max_length constraint was updated to 150 characters. when running a makemigrations, I end up with a migration that is dropping fk constraints, altering the username field, and then recreating the constraints. is this a bug?
19:49 PM
19:50 PM
eggstyrone joined the channel
19:52 PM
bjorkintosh joined the channel
19:52 PM
bjorkintosh
is there an elementary channel?
19:52 PM
'cause my question is elementary.
19:52 PM
harmaahylje
bjorkintosh: what do you mean?
19:53 PM
bjorkintosh
the tutorial on the django site. I swear i've followed it as closely as possible.
19:53 PM
and i keep running into a 404.
19:53 PM
3rd time so far.
19:53 PM
not sure if I've sacrificed the right chicken yet.
19:53 PM
harmaahylje
bjorkintosh: what seems to be the problem?
19:53 PM
bjorkintosh
page not found.
19:53 PM
knbk
are you loading /polls/?
19:54 PM
bjorkintosh
how am I supposed to load polls? I'm following the tutorials step by step.
19:54 PM
n0nam3 has quit
19:54 PM
knbk
just type in localhost:8000/polls/ in your address bar
19:55 PM
realnot has quit
19:55 PM
folksilva has quit
19:56 PM
bjorkintosh
frus.TRATING! there was a space in path('', views.index, name='index'),
19:56 PM
folksilva joined the channel
19:56 PM
why would such a trivial thing break such a mighty app? this is a tad nuts!
19:56 PM
knbk
oh damn, that is frustrating
19:58 PM
harmaahylje
those are the worst.
19:58 PM
bjorkintosh
it's 2018. there's gotta be something far smarter than this for producing web apps.
19:59 PM
for now, i'm stuck with this. but there's gotta be something at least 10 times better.
19:59 PM
thank you knbk and harmaahylje.
20:00 PM
harmaahylje
let me know if you find something smarter
20:00 PM
folksilva has quit
20:02 PM
|oLa| has quit
20:03 PM
folksilva joined the channel
20:04 PM
bukensik_ has quit
20:05 PM
Kangermu joined the channel
20:06 PM
lolidunno joined the channel
20:06 PM
birdbolt1 joined the channel
20:06 PM
glumanda joined the channel
20:07 PM
birdbolt1
20:08 PM
bjorkintosh has left the channel
20:10 PM
markamodo has quit
20:14 PM
microdex joined the channel
20:15 PM
roadie joined the channel
20:16 PM
birdbolt1 has quit
20:16 PM
folksilva has quit
20:16 PM
folksilva joined the channel
20:17 PM
coderphive joined the channel
20:18 PM
knbk
if you pass an explicit path, that's where manage.py will end up, so it's /home/docker/code/app/manage.py
20:18 PM
only if you don't pass a path, it'll create a <project_name> directory in the current directory where it'll put everything
20:19 PM
Lcstyle joined the channel
20:22 PM
helical joined the channel
20:22 PM
tdy has quit
20:24 PM
vdboor joined the channel
20:26 PM
helical has quit
20:29 PM
lorddaed_ joined the channel
20:31 PM
m0wth has quit
20:32 PM
lorddaedra has quit
20:32 PM
ironfroggy joined the channel
20:32 PM
Nizumzen has quit
20:34 PM
m0wth joined the channel
20:35 PM
listenmore has quit
20:35 PM
atriv joined the channel
20:35 PM
listenmore joined the channel
20:35 PM
Kazuki- has quit
20:40 PM
jch2os has quit
20:40 PM
r29v joined the channel
20:41 PM
csotelo joined the channel
20:47 PM
csotelo has quit
20:48 PM
sms has quit
20:49 PM
sms joined the channel
20:49 PM
xnekomata has quit
20:51 PM
xnekomata joined the channel
20:54 PM
tm007 joined the channel
20:57 PM
ironfroggy joined the channel
20:57 PM
Catatronic has quit
20:58 PM
tdy joined the channel
20:58 PM
Kangermu has quit
20:58 PM
aussiejames joined the channel
20:59 PM
pwrentch has quit
21:00 PM
Catatronic joined the channel
21:02 PM
felixx has quit
21:03 PM
fury__ has quit
21:04 PM
kairozu has quit
21:04 PM
roadie has quit
21:04 PM
fury_ joined the channel
21:05 PM
folksilva has quit
21:08 PM
atula joined the channel
21:08 PM
folksilva joined the channel
21:09 PM
folksilva has quit
21:09 PM
Oli has quit
21:10 PM
rokups has quit
21:10 PM
Oli joined the channel
21:14 PM
worrelsik has quit
21:14 PM
ironfroggy joined the channel
21:17 PM
mirk0 has quit
21:18 PM
csotelo joined the channel
21:18 PM
rougeth has quit
21:18 PM
mirk0 joined the channel
21:19 PM
atula has quit
21:22 PM
helical joined the channel
21:22 PM
ahmad0461 joined the channel
21:24 PM
microdex has quit
21:26 PM
vdboor has quit
21:26 PM
eggstyrone has quit
21:27 PM
helical has quit
21:31 PM
NomadJim joined the channel
21:32 PM
dlam has quit
21:36 PM
phiofx has quit
21:36 PM
mg- has quit
21:36 PM
djapo joined the channel
21:37 PM
thiras has quit
21:40 PM
csotelo has quit
21:43 PM
worrelsik joined the channel
21:43 PM
Donitzo joined the channel