Django does not provide any standard way of organizing thumbnails.
Even though community has some applications to work with thumbnails,
they are usually over kill if You only want to create a thumbnail for an
ImageField. So here is my solution to handle thumbnails.
To hande thumbnails I over-wrote my model's save method to read
original image field into a StringIO, manipulate the image and save...
Monday, 27 October 2014
Monday, 6 October 2014
x-mvc form validation
Standard
in new x-mvc i have added form validation it is so simple and usable
reference link : https://www.npmjs.org/package/x-mvc
How to use
Install from npm
npm install x-mvc
Instantiate a new form_validation object
req.library.load('form_validation');
/** construct a new form_validation object passing the data array to validate
* date array should contain a set of objects formatted as following
...
Subscribe to:
Posts (Atom)