#django

/

      • Leeds joined the channel
      • pylund has quit
      • mattmcc
        Yes.
      • hailhydra
        The only problems I see is after a user is created I'd have to update /etc/aliases and reload dovecot and postfix
      • mattmcc
        Why do you need a system user at all?
      • Postgres users are not bound to system users.
      • eka joined the channel
      • hailhydra
        because I think passwd is pretty solid authentication
      • mattmcc
        Oh, is this a roll-your-own cpanel clone kind of situation?
      • hailhydra
        just the email part I suppose
      • areski has quit
      • Ideally I'd like to make a cpanel sorta system that is pluggable django apps
      • mattmcc
        Surely the email server in question can auth against a database table without needing a system user.
      • KlausedSource_ has quit
      • hailhydra
        yeah it can. But I don't see a downside to using a system user for now.
      • lorddaedra joined the channel
      • mattmcc
        Requires root, which requires great care to do safely.
      • d3ngar
        schinkel: now that I have the SMT error fixed I can see the following: http://127.0.0.1:8000 uidb64=MQ token=46f-bd6f24df22d0e6800f04 %}
      • bDreadz has quit
      • Obviously I forgot to remove the %} but that's fine for now. I suppose
      • hailhydra
        I got other stuff to work on tonight. But I just wanted to run it passed people here.
      • freakboy3742 joined the channel
      • mattmcc, if you were going to make a role-your-own-cpanel system how would you do email?
      • Itkovian joined the channel
      • pembo13 joined the channel
      • uber has quit
      • mattmcc
        Heh. Well, _I_ wouldn't do either of those things. But I'd be sure to use a mail server that could manage users and their mail entirely in the DB. Pretty sure Dovecot supports that.
      • meisth0th joined the channel
      • hailhydra
        good to know. I have this problem at work where I have zero time for planning and usually have to just make stuff work immediately.
      • ambar_ has quit
      • mattmcc
        Google Apps ftw
      • hailhydra
        my boss is voting for Trump and wears a tin foil hat at the mention of Google
      • mattmcc
        Managing email is just too annoying to justify doing it in-house, imho when you can spend $5/mo/user and have it all done for you, plus the apps.
      • Does he trust Microsoft any more? They offer basically the same thing these days.
      • Rackspace also does just mail hosting, $2/user/mo
      • rosco77 has quit
      • dang`r`us
        My company was once a paying google apps user. Abysmal support.
      • metastableb is now known as metastableB_
      • but I suppose it's still a good bang for the buck
      • lorddaedra has quit
      • slick666_work joined the channel
      • ruind has quit
      • mattmcc
        Never actually needed to use their support before.
      • the_rat joined the channel
      • uber joined the channel
      • We're kinda lucky in that we're grandfathered in to when it was still free. So as long as we stay under the overall disk quota and user count, we're good.
      • gopar has quit
      • rpkilby joined the channel
      • slick666_work has quit
      • the_rat has quit
      • Itkovian has quit
      • gopar joined the channel
      • Itkovian joined the channel
      • Pulec has quit
      • zopieux has quit
      • zopieux joined the channel
      • Pulec joined the channel
      • Itkovian has quit
      • Itkovian joined the channel
      • __main__ has quit
      • xenobyte has quit
      • __main__ joined the channel
      • the_rat joined the channel
      • the_rat has quit
      • Quitta joined the channel
      • dangayle has quit
      • geek joined the channel
      • geek has quit
      • Quitta has quit
      • Itkovian joined the channel
      • rpkilby has quit
      • d3ngar has quit
      • CandyApples joined the channel
      • Itkovian has quit
      • Itkovian joined the channel
      • Genitrust has quit
      • aron_kexp joined the channel
      • aron_kexp has quit
      • Itkovian has quit
      • ycon_ has quit
      • jarshwah has quit
      • Tanger joined the channel
      • CashewGuy joined the channel
      • cssko has quit
      • pydave6367 has quit
      • gopar has quit
      • jarshwah joined the channel
      • teddybeermaniac has quit
      • ojii|work joined the channel
      • uczekalla has quit
      • CandyApples has left the channel
      • mburke05 joined the channel
      • freakboy3742 has quit
      • jbottel joined the channel
      • grafa has quit
      • jbottel
        I'm interested to know if there is a best practice for django as far as having a BooleanField to specify whether a certain object should have a ForeignKey or whether the ForeignKey being null is sufficient.
      • Something like a BooleanField "has_a_favorite" and then a ForeignKey on the favorite.
      • jessamynsmith
        I would prefer having a nullable foreign key
      • jbottel
        Should I use a null ForeignKey to represent that the user does not have a favorite
      • jessamynsmith
        that is what I would do
      • jbottel
        I'm trying to imagine if there would be any issues with that. I guess the only potential issue is if later on I would rather have null represent something else.
      • jessamynsmith
        null logically means "this thing does not exist"
      • if you are using it to mean anything else, I'd say that's somewhat confusing
      • ASonOfGod joined the channel
      • jbottel
        jessamynsmith: Agreed. I guess that answers the question.
      • jessamynsmith: Thanks
      • jessamynsmith
        cheers
      • __machine has quit
      • pydave6367 joined the channel
      • msg555 joined the channel
      • yask has quit
      • pyjacker joined the channel
      • pyjacker
        Hey, has anyone had possitive expirience with https://github.com/jrief/django-websocket-redis?
      • saywat has quit
      • enkrypt has quit
      • cyphase joined the channel
      • jessamynsmith has quit
      • Laaw has quit
      • Laaw joined the channel
      • dbkaplun has quit
      • dhararon joined the channel
      • jessamynsmith joined the channel
      • dhararon
        hi everyone
      • jessamynsmith
        hi
      • dray3 joined the channel
      • dhararon
        someone have ever used ModelAdmin for 2 differents database, i have a problem with delete_model function because I overwrite it and ModelAdmin Ignore it
      • lazypenguin has quit
      • meisth0th has quit
      • ojii|work has quit
      • ojii|work joined the channel
      • Lobstaman3 has quit
      • freakboy3742 joined the channel
      • enkrypt joined the channel
      • Genitrust joined the channel
      • Genitrust has quit
      • powersjcb joined the channel
      • Coldblackice joined the channel
      • urbanendeavour has quit
      • Juzzika joined the channel
      • dhararon has quit
      • urbanendeavour joined the channel
      • Atrumx has quit
      • Atrumx joined the channel
      • ASonOfGod has quit
      • slick666_work joined the channel
      • drodger has quit
      • the_rat joined the channel
      • dbkaplun joined the channel
      • slick666_work has quit
      • the_rat has quit