Hello, Can anyone recommend a workflow engine for Django.. I am using 2.7.x.. I am looking for basic WF management.. states are draft, pending, inprogress, completed, etc.. Thanks!
I'm getting a 404 error when Django redirects me to login.
Because it redirects me to accounts/login
I'm using django's default auth system.
However my login url is simply /login.
How do I change that setting?
VinceZa
hey StephenTuring.. just learning python so take this with a grain of salt, but check your LOGIN_URL setting in settings.py.. for example LOGIN_URL = '/login/'
hey StephenTuring.. just learning django so take this with a grain of salt, but check your LOGIN_URL setting in settings.py.. for example LOGIN_URL = '/login/'
saschpe is now known as zz_saschpe
StephenTuring
VinceZa, sorry didn't do the trick.
VinceZa
what about your url pattern? url(r'^login/', 'main.views.auth_login', name='login'),
Interesting, why does django have a login url configured regardless of the urls.py?
enkrypt has quit
doismellburning
StephenTuring: how else would it do that?
StephenTuring
Via a module.
doismellburning
and more concretely?
StephenTuring
in the projects url's file.
doismellburning
and more concretely?
munichlinux has quit
rogeliodh joined the channel
"with code"
LOGIN_URL = reverse_lazy("login")
kyheo joined the channel
jimcky
hi... I am trying to deploy my django app onto google app engine, and I found something called "django-deployer" but I cannot get it to work with my project... what is the proper way to deploy a django app on GAE?
doismellburning
jimcky: with pain and suffering
jimcky: (I'm semi serious; I'd massively recommend against GAE unless you have very very compelling reasons)
GoClick has quit
benoitbb has quit
jimcky
doismellburning: haha... actually I have an always on laptop that I used to deploy a php project
not sure if I can host 2 apps on Apache though
doismellburning
jimcky: that's nice
(you can, but ew)
benoitbb joined the channel
pmachine has left the channel
jimcky: Heroku free tier, whatever that opencloudstackfoundry thing was, heck even a cheap DO box
I'd recommend all of those over GAE
munichlinux joined the channel
jimcky
I don't really know how to deploy wsgi apps, I couldn't get it setup with web.py, and I am a bit afraid I would mess up the php app I am already hosting.. you know, to host php apps you just put it under the right directory and it's done XD
Heroku, I think I've heard about it
seems really easy to setup...?
doismellburning
jimcky: yep
jimcky: and the free tier will go a long way
jimcky
I am a bit embarrassed, it's just a simple diary app I wrote for my girlfriend, so I think it would be fine XD
doismellburning
jimcky: sounds more than adequately covered by the free tier
jimcky
let me try to deploy there... it advertise something like... using git to deploy?
doismellburning
nod
(for a very loose value of deploy)
MLM joined the channel
Leeds has quit
jimcky
doismellburning: I see, let's hope it support relational database, the NoSQL stuff of GAE is a bit complicated to me :P
enkrypt joined the channel
doismellburning
jimcky: it does
StephenTuring
Does anyone find that after about an hour the django's test server just kind of packs up?
doismellburning
StephenTuring: not ime; i've had testservers run for days
StephenTuring
Maybe the virtual environment's to blame.
jimcky
doismellburning: no wonder so many demo site of github projects are deployed on this platform, I used to think it was a PaaS service from Github :P
maryokhin joined the channel
doismellburning
jimcky: I'm a massive Heroku fan, and I'd like to think it's not without good reason
kate_r joined the channel
Natsu- has quit
mihow joined the channel
MarkusH
as long as you have a reasonably up-to-date mac osx you are fine (if you use osx)
jimcky
doismellburning: 5 minutes in, I started to love it. Not that I have deployed the demo app, but at least the instructions are very clear.
MarkusH: really cool, I hope my city has something like this, programming isn't really a thing in Hong Kong :(
MarkusH
jimcky: start something! ;)
SoftwareMaven joined the channel
jimcky
MarkusH: I think I should try to be a guru on any of the tools I used first :P, I don't really understand how super() works in Python, so I was too afraid to override the save() method in my models, but it's really tempting - to have something done and filled in as soon as an object is created
maryokhin has quit
abara joined the channel
SoftwareMaven has quit
doismellburning
jimcky: oh yeah they have a demo app, forgot about that now
jimcky: (my first use of Heroku predated that)
jimcky
doismellburning: early adopter :D, so you have tried to deploy on GAE? It is still the 'standard way' to deploy personal projects here in Hong Kong, or so they say in local media
doismellburning
jimcky: I've used GAE before; I generally regretted it
backthatzachup has quit
jimcky: I occasionally look at it to make sure it's not drastically changed and I'm missing something
erik`
free GAE also only supports the proprietary database, right? which means vendor lockin
doismellburning
erik`: yep
another thing I <3 about Heroku is there's so very little lockin
jimcky
doismellburning: I am so glad you stopped me from trying harder on that
doismellburning
I also use Heroku as a staging environment for apps I deploy to other places
desophos joined the channel
because nearly no changes are required
atula joined the channel
("does your app deploy cleanly/easily to Heroku" is a _beautiful_ metric)
(because if it doesn't, it's probably doing some tedious things)