VadtecWk: i think i would try logging on the DB server at this point, to check that the correct queries are made and that they return what they should
Azelphur
How does django uploads work in deployment?
the_rat has quit
like, what do I have to do to make it work nginx-iwes?
wise*
VadtecWk
The-BB, ah, i figured it out, one of the FK fields didnt have a value, so it was getting excluded by the admin due to select_related
the_rat joined the channel
arietis has quit
arietis joined the channel
arietis has quit
jax joined the channel
adrian_lc joined the channel
subleq has quit
sudobangbang has quit
eeriegeek has quit
Atlantic777
There's gitlab, the software that runs github. Is there something equivalent for heroku, or at least with similar purpose?
phaleon has left the channel
the_rat_ joined the channel
ArcTanSusan has quit
julio_menendez has quit
micah_chatt joined the channel
the_rat has quit
xyxxy has quit
skaflem has quit
nasim
Atlantic777: OpenShift?
maztah is now known as maZtah
Atlantic777
nasim: looks promising. :)
leonel joined the channel
mkoistinen has quit
georgeirwin has quit
vakaras has quit
sayan has quit
mgrouchy joined the channel
moneydouble
Is there a way to use different views (cbvs) for the same url pattern /dashboard/ depending on the type of user logged in?
b0rsuk joined the channel
ArcTanSusan joined the channel
b0rsuk is now known as b0rsuk|has_a_job
Atlantic777
moneydouble: maybe you can make a dispatcher view which will call another function for rendering and return the result.
jonet has quit
siovene joined the channel
siovene
Hi. cache.set doesn't seem to work when I run my website, but it works in ./manage.py shell. What could be wrong?
b0rsuk|has_a_job
Do you have any idea how to turn on logging (or find logs) for Firefox on Windows ?
Firefox supposedly has -console commandline option, but it does nothing on Linux as far as I can see. Unless it's windows-only.
Atlantic777
b0rsuk|has_a_job: maybe this isn't the bast place to ask such question. I would try on Firefox official support channel, it's probably on Mozilla's IRC server.
What do you guys think about using HAML/YAML ans SasS as a professional?
It has it's advantages but it seems like it's another thing everybody on the team would have to learn.
mkoistinen joined the channel
jonet joined the channel
pyBen has quit
mkoistinen has quit
natea has quit
Cyph0n has quit
arturrro has quit
thedodd joined the channel
mkoistinen joined the channel
eeriegeek joined the channel
liamT has quit
Bosox20051 joined the channel
aendrew has quit
mgrouchy has quit
jacobkm has quit
aliona__ has quit
pyBen joined the channel
CapnKernel has quit
jacobkm joined the channel
rideh joined the channel
toli joined the channel
zeograd has quit
aendrew joined the channel
ArcTanSusan has quit
mribeirodantas has quit
siovene has quit
_macro joined the channel
igorline has quit
souradeep has quit
_macro
is there a better way to make `email` a unique user model field without copying most of AbstractBaseUser?
An_Ony_Moose joined the channel
"since Django does not support overriding model fields, you do need to copy all of this from the AbstractUser class within django.contrib.auth.models rather than simply extending and overriding the email field." -- http://www.caktusgroup.com/blog/2013/08/07/migr...
CapnKernel joined the channel
An_Ony_Moose
Is there a particular reason why I get HTTP 500 errors when I run my site with DEBUG = False but not when I have debug enabled?
Or rather, how could I find out what causes this?
neoksygen joined the channel
protokol joined the channel
tswett
An_Ony_Moose: just making sure: the site runs fine when DEBUG is True, right?
chrismed has quit
nasim
An_Ony_Moose: checkout ALLOWED_HOSTS
jax has quit
protokol is now known as protokol[DEN]
An_Ony_Moose
tswett: yes it does
nasim: what would I put in it? It isn't currently defined.
Atlantic777
I would check serving static contents.
An_Ony_Moose
nasim: and wouldn't it make more sense to have a 403 rather than a 500 in that case?
Atlantic777: aaah right so I need to have something separate serving static contents if DEBUG isn't enabled?
ohrstrom has quit
Atlantic777
An_Ony_Moose: either that, or tweak runserver to serve static contents too. Check it in docs. :)
Regarding my problem above ("from django.core.wsgi" giving "ImportError: No module named wsgi"), I just remembered that Django uses absolute paths for certain things, so since I've moved the site between servers, I need to change those absolute paths, too.
I changed the ones in settings.py, but that hasn't changed anything.
An_Ony_Moose
Atlantic777: well, it's neater if I have a separate server (apache or nginx) for static stuff so I might as well quickly set it up
aaaand it works.
Atlantic777
An_Ony_Moose: if it's not a problem to manage it that way, than go for it. :)
mrhanky has quit
tswett
Where is django.core.wsgi supposed to be?
Atlantic777
django.core.wsgi?
that's part of django :/
I would try to import that from django shell.
igorline joined the channel
part of django itself* (so pytonpath probably)
natea joined the channel
tswett
From the Django shell, good idea.
cyphase has quit
Atlantic777
It will probably be ok but make yourself sure that it's not problem with that module.
tswett
That's "python manage.py shell", right? I'm getting another juicy little error message.