#django

/

      • natea joined the channel
      • evility has quit
      • AG_Clinton
        Does anyone know of a django FTP client that could be used like a web file manager? Looking to allow users to connect to different FTP servers depending on their settings.
      • juztin has quit
      • teebes has quit
      • doismellburning
        AG_Clinton: DIY integration with a python FTP client, probably
      • FunkyBob
        AG_Clinton: there's a few file managers about, some of which re-use django storage backends
      • and I'm quite sure there's a FTP storage backend
      • mattmcc
        elfinder supports writing backends relatively easily.
      • Eh, django-storage's FTP backend isn't something I'd take seriously.
      • AG_Clinton
        Thing is most of them are built around having a single file backend. This is just for users managing files on other servers.
      • The amount of servers could be dozens.
      • FunkyBob
        can't your users just use WinSCP? :)
      • mattmcc
        Heh. Yeah, FTP is a pretty lousy protocol to pair to a stateless web client.
      • doza joined the channel
      • AG_Clinton
        I'd love that honestly, but this is for a control panel which means I can't count on that.
      • Probably going to end up writing something custom, but just wanted to see if anyone knew of something that I could try and modify.
      • NBhosting has quit
      • FunkyBob
        sensible move
      • jMyles
        AG_Clinton: Twisted has FTP clients that will work with hendrix
      • elbaschid joined the channel
      • honi joined the channel
      • suchkultur has quit
      • bkuberek joined the channel
      • natea joined the channel
      • mattmcc
        As far as UI, elfinder does support multiple 'roots', although you may not want to have to spell out dozens of them.
      • elbaschid has quit
      • t3h9 has quit
      • bkuberek_ joined the channel
      • elbaschid joined the channel
      • natea joined the channel
      • natea joined the channel
      • kushal has quit
      • natea has quit
      • hyperair joined the channel
      • audioburn has quit
      • doza has quit
      • the_rat has quit
      • jessamynsmith joined the channel
      • doza joined the channel
      • the_rat joined the channel
      • adrian1 has quit
      • EnTeQuAk has quit
      • AndyRez_ joined the channel
      • Technodrome has quit
      • garrypolley_ joined the channel
      • mrhanky has quit
      • audioburn joined the channel
      • mrhanky joined the channel
      • EnTeQuAk joined the channel
      • telex joined the channel
      • t3h9 joined the channel
      • garrypolley__ joined the channel
      • djm- joined the channel
      • techdragon joined the channel
      • jcerise joined the channel
      • garrypolley has quit
      • tonythomas joined the channel
      • jonmorehouse has quit
      • natea joined the channel
      • crane joined the channel
      • teebes joined the channel
      • garrypolley_ has quit
      • rpkilby has quit
      • jonmorehouse joined the channel
      • jcerise has quit
      • Hairy joined the channel
      • durianshredder joined the channel
      • durianshredder
        In the admin, what is the best/easiest way to override a models add view with a custom view?
      • Hairy joined the channel
      • garrypolley__ has quit
      • elbaschid has quit
      • nikhil_ joined the channel
      • garrypolley joined the channel
      • FunkyBob
        durianshredder: you mean like auth.User does?
      • garrypolley_ joined the channel
      • nikhil_
        when I am writing a TestCase, assuming I have set up the database correctly, how is data from fixtures loaded into the database? is this automatic?
      • or do I need to do something in TestCase.setUp()
      • dlam joined the channel
      • bnmalcabis has quit
      • Mission_ has quit
      • durianshredder
        FunkyBob: Not sure what you mean, auth.User change and add look very similar to me.
      • silverfix joined the channel
      • garrypolley has quit
      • nikhil_: Yes, I believe you need to load your test data in setUp()
      • nikhil_
        durianshredder, thanks
      • gabrielo has quit
      • FunkyBob
        durianshredder: oh... last I saw add user would have an abbreviated list of fields, and would set the password...
      • where edit user had the full set, anda a link off to set password
      • durianshredder
        yeah well that is exactly what I am trying to do, I have a model that I want to have a few readonly fields, such as the creator on the change form, but I want to be able to create the model and assign the creator on the add form
      • teebes has quit
      • elyezer joined the channel
      • gabrielo joined the channel
      • FunkyBob
        so what I was implying was for you to look at how auth.User does it
      • kenbolton joined the channel
      • durianshredder
        Makes sense, thanks FunkyBob, I'll see what I can find
      • teebes joined the channel
      • Ariel_Calzada has quit
      • SoftwareMaven has quit
      • marc_v92 joined the channel
      • ambar has quit
      • dlam
        is there a way to query Session.objects.all() for a particular user? seems like it keeps all its stuff encoded =\
      • immerser has quit
      • Hairy joined the channel
      • FunkyBob
        dlam: nope, you have to go through each one
      • teebes has quit
      • since user is jut data stored in the session
      • silverfix has quit
      • evility joined the channel
      • skyice joined the channel
      • robbyoconnor joined the channel
      • josephleon joined the channel
      • natea joined the channel
      • ehmatthes joined the channel
      • bwreilly has quit
      • govg joined the channel
      • krisf joined the channel
      • bwreilly joined the channel
      • polydaic has quit
      • underthehill joined the channel
      • judasiendo joined the channel
      • acangiani joined the channel
      • govg joined the channel
      • encod3 has quit
      • freedrull has quit
      • AndyRez joined the channel
      • limbera joined the channel
      • limbera
        morning all
      • durianshredder
        evening
      • mun has quit
      • Broodoobob has quit
      • skyice has left the channel
      • Vaanir has quit
      • techdragon joined the channel
      • Vaanir joined the channel
      • zkanda joined the channel
      • limbera
        just deployed a new application
      • images are loading fine, but css/js (other assets are not)
      • zkanda
        congrats! :)
      • pierre1_ has quit
      • limbera
        console tells me that the resources are not found
      • doza has quit
      • zkanda
        paste your settings and nginx conf.
      • opnchaudhary_ has quit
      • durianshredder
        ./manage.py collectstatic <-- will bring them all to one place, but may not be what you are looking for
      • FunkyBob
        was about to ask if you collectstatic'd
      • and if your STATIC_ROOT is set correctly
      • (a) what URLs are showing in your template?
      • (b) what response are you getting from nginx for them?
      • limbera
        i have collected static