#django

/

      • gopar has quit
      • slick666_work has quit
      • EduardoMartins has quit
      • pydave6367 has quit
      • APXtvlKDVI has quit
      • jessamynsmith has quit
      • HappyKatt has quit
      • xterm joined the channel
      • felixx joined the channel
      • cewing has quit
      • CandyApples joined the channel
      • CandyApples has left the channel
      • sayan joined the channel
      • powersjcb has quit
      • ycon_
        shangxiao, I ran manage.py showmigration as suggested,
      • and my new field (that I added to my model) wasn't there.
      • djapo has quit
      • donspaulding joined the channel
      • josuebrunel joined the channel
      • kinetic joined the channel
      • jarshwah_ joined the channel
      • drodger has quit
      • CandyApples joined the channel
      • synapps joined the channel
      • drodger joined the channel
      • synapps
        hi
      • ycon_
        I feel like it's related to "managed=true". Where is that value set? Makemigrations just doesn't detect changes in existing models
      • drodger has quit
      • hi
      • admiral_proton joined the channel
      • jarshwah has quit
      • jarshwah_ has quit
      • drodger joined the channel
      • kinetic has quit
      • pingupingu has quit
      • shangxiao
        ycon_: i asked what showmigrations output was, not "is your new field in 'there'"
      • btw which django version?
      • ycon_
        shangxiao, 1.8.4
      • shiriru joined the channel
      • capella-da-star joined the channel
      • shangxiao, Here is my showmigrations http://dpaste.com/2BVJ9SV
      • shiriru has quit
      • Saturn812 joined the channel
      • the_rat joined the channel
      • shangxiao
        ycon_: what is this app's name?
      • tobias47n9e__ joined the channel
      • ojii|work has quit
      • tobias47n9e_ has quit
      • the_rat has quit
      • ojii|work joined the channel
      • ticketbot has quit
      • ticketbot joined the channel
      • Audioburn has quit
      • Joshee joined the channel
      • ycon_
        shangxiao, app called "stashd"
      • shangxiao
        ycon_: right well 'stashd' isn't in that list, so that usually means that it's not in INSTALLED_APPS
      • eka has quit
      • ycon_
        shangxiao, it definetly is
      • shangxiao
        and a stashd/__init__.py exists?
      • LordVan joined the channel
      • ojdo has quit
      • slav0nic joined the channel
      • teddybeermaniac joined the channel
      • coderzm joined the channel
      • ojdo joined the channel
      • ogny joined the channel
      • HappyKatt joined the channel
      • ycon_
        shangxiao, sorry for the wait. Yes stashd/__init__.py exists. It is empty
      • shangxiao
        ycon_: stashd/migrations/__init__.py?
      • Itkovian joined the channel
      • ycon_
        Ahh nope- should it be blank
      • jsfan has quit
      • FunkyBob
        it should exist and be empty
      • shangxiao
        ycon_: moral of the story: always use `manage.py startapp <appname>` to create apps
      • brundleticks has quit
      • but for now a simple `touch stashd/migrations/__init__.py` should suffice
      • steve74 joined the channel
      • rosco77 joined the channel
      • michalmo joined the channel
      • FunkyBob: i got called an asshole on here yesterday for asking if someone knew django :D
      • Itkovian has quit
      • i was trying to figure out where to point them in the docs, (ie tutorial vs some more advanced topic)
      • ycon_
        Pretty sure that was ut. The file doesn't exist /migrations at all- Thanks FunkyBob shangxiao
      • shangxiao
        ycon_: nw mate
      • ycon_: so what did you learn from that though?
      • we should always learn something :)
      • (if anything it should be that apps must be python modules for python2 and that they have to be in INSTALLED_APPS)
      • keimlink joined the channel
      • ycon_
        Today I learned each app needs __init__.py in a folder called migrations
      • FunkyBob
        what you should have learned is "start apps using the startapp command"
      • ycon_
        I did a bad thing once and deleted my migrations folder. Funky set me straight
      • FunkyBob
        today I learned [well, was reminded] or just how awesome AU health care is :)
      • mitaka joined the channel
      • shangxiao
        ycon_: yes because __init__.py makes it a python module
      • brundleticks joined the channel
      • FunkyBob: yes it's just a shame that the data systems are still stuck in the 70's
      • like trying to get changes to medicare cards mean having to fill out paper forms _and_ talking to someone at centrelink (which means waiting 1 hour)
      • ycon_
        I've heard that- emergency services are using a prehistoric system had a look at it a few weeks ago (nsw ambulances)
      • FunkyBob
        took son in this morning complaining of stomach pains [he was vomiting all y/day]
      • they looked him over, ran some blood tests, booked him for surgery, took out his appendix
      • ycon_
        Ohh crap! Pffew thats a relief
      • No digesting grass
      • FunkyBob
        clerk talked to me, pointed out it's all free, and if I have private health insurance, they can claim a little [still free to me] and help with hospital running costs
      • ASonOfGod joined the channel
      • CandyApples has quit
      • shangxiao
        ycon_: so you're in sydney?
      • ycon_
        yeh Aus healthcare is pretty darn good- especially if you enter through emergency
      • slick666_work joined the channel
      • shangxiao, correct.
      • shangxiao
        if you come down to melbourne, come visit us at common code for a melbdjango!
      • i must get to psydjango one day
      • BlindHunter joined the channel
      • sydjango*
      • ycon_
        I'm off, FunkyBob hope his recovery goes well !
      • shangxiao, I'd like that a lot. Met a bunch of MelbDjango peeps at our last SyDjango
      • shangxiao
        ycon_: see you mate
      • annefly joined the channel
      • ah yes daryl, jon & mark
      • markus*
      • at least i think jon went
      • FunkyBob
        be fair. Markus is an honorary MelbDjango peep :)
      • slick666_work has quit
      • melhiors joined the channel
      • melhiors has quit
      • ycon_ has quit
      • jessamynsmith joined the channel
      • areski joined the channel
      • citizen-stig has quit
      • mehola has quit
      • jessamynsmith has quit
      • sk4tsh joined the channel
      • codeme joined the channel
      • kinetic joined the channel
      • msg555 joined the channel
      • ASonOfGod has quit
      • CandyApples joined the channel
      • ojii|work has quit
      • codeme has quit
      • CandyApples has quit
      • codeme joined the channel
      • codeme has quit
      • codeme joined the channel
      • HappyKatt has quit
      • teddybeermaniac has quit
      • ojii|work joined the channel
      • Itkovian joined the channel
      • dodobas
        yutro
      • fleetfox
        o/
      • gannetson joined the channel
      • shangxiao has quit