[Ncr-Python.in] Creating multiple vouchers with one form in django admin

Raakesh kumar kumar3180 at gmail.com
Tue Feb 11 10:53:47 CET 2014


Hi,
I want to create a voucher system in Django admin. I have a model "voucher"
and i have added it into admin to create voucher. Now I want to have a
field in the form where admin can specify number of vouchers to be created
and same number of voucher rows has to be created in database. Voucher
number will be generated using some function. To display what i have done
so far please see

http://stackoverflow.com/questions/21687559/creating-multiple-vouchers-with-one-form-in-django-admin

But when i try to create, it throws errors. Any help or suggestion?



-- 
Regards
RAKESH KUMAR
http://www.raakeshkumar.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ncr-python.in/attachments/20140211/928af5ae/attachment.html>


More information about the Ncr-Python.in mailing list