Posts

Think I have to do....

- learn about django signal - multiprocessing module - mocking and patching with import mock

Pagination in Django is COOL :)

http://docs.djangoproject.com/en/dev/topics/pagination/ before to to other module , try is before

Solution for Crossite Scripting

http://remysharp.com/2007/10/08/what-is-jsonp/ from kirit, pam . Its use for solve problem about CROSSSITE SCRIPT by don't care where's our js

IRC for django folk

- irc:freenode #django-lfc #django-cms #django-lfs their folks : diefenbach kai, bartTC #selenium #windmill

How to Create Tutorial with Opensource

Ubuntu 10.04 - xvidcap : capture screen vid > file format : avi (uncheck audio) - subtitle editor : create sub(srt) file (need manual change ext. to .srt) > 8-10 sec (for long word) > 3-5 sec (general word) - open shot video editor

Django model

1.when u create 'sample_field' field in model with field attribute 'related_name'. 2.u can backward retrieve data with 'sample_fields' will check later

Tips for django, python

python function argument for example : def func(input1, *input2, **input3) *input2 > tuple **input3 > dict for concrete example: def bucha(name, *things_have,**dudu): print name print things_have print dudu yh get result by call bucha('sirs','duma','dugu',damn='kin') sirs ('duma','dugu') {'damn':'kim'} django models Q > LIKE keyword F > for compare model field with another field in that model -> one to one -> models.OneToOneField() -> many to many -> models.ManyToManyField()