When using $.ajax post you must be careful of what you set as contentType option. If you set it as 'application/json' you will have to parse the data from the request.BODY variable in your django class based view. The request.POST variable (Querydict) will be empty. It is better to not use the ...
Trying to figure out what to use django-shop or django-oscar for a subscription type product. What exactly happened to satchmo. Well will be posting about my trials and tribulation with django-shop.
Hoping these docs help.
Due to incredible amount of spam comments, comments will be temporarily shutdown in the blog section. It will stay that way till I get time to implement a captcha.
Written by Linux.on March 8, 2014 in
Last update on April 10, 2014.
In case you have to delete millions of files, like in clientmqueue folder.
Use this code, Save this as listdirdelete.c
Compile it with gcc: gcc listdirdelete.c -o listdirdelete
Then use ./listdirdelete /var/spool/clientmqueue
The code will list the files and delete them one by one. The problem with other methods I tired ...
Written by Google.on Feb. 9, 2014 in
Last update on Feb. 11, 2014.
Recently Google upgraded their compute engine to remove the ability to have scratch disks. This mad our instance go down and we were not able to connect to it via ssh, as it was TERMINATED. Since we were not able to connect to it we were not able to do the migration to new the ...
A clock wallpaper. https://play.google.com/store/apps/details?id=forent.guiapps.kelloclock
Written by Python.on Jan. 22, 2014 in
Last update on March 2, 2015.