Re: Code organisation

2016-01-24 Thread Benjamin Melki
This CMS really looks awesome. But I don’t think I would do it justice, if I don’t learn first the framework: Django. I think I will really appreciate getting into CMS after learning the framework and publishing a few projects with it. Then you can truly appreciate what the CMS can give you. >

Re: Code organisation

2016-01-24 Thread Benjamin Melki
Hello, thanks for the link. Indeed, I hesitated a long time before deciding not to use a cms. I think I would probably have used a PHP cms if I had chosen this route. But I chose to stick with raw Django. Yes it is more work, but i’m building my first kinda cms to be reusable, with my own style

Code organisation

2016-01-22 Thread Benjamin Melki
Hello, i’m building my first site with this great framework and language that are Django and Python. I try as much as possible to favor code reuse. On one of my model, I do some work with the instance before saving it. Works is mostly image related: resizing image, compressing, saving thumbs, an

Re: async / await

2016-01-20 Thread Benjamin Melki
> > > To implement this sort of feature, you need to have a worker queue - Celery > is the heavy duty answer for this; if you just need a cheap and cheerful > answer, RQ is a fairly easy-to-use option, or you can roll-your-own in the > database without too much trouble. > Thank you Russel,