extensive Linux user with python and php programming

2d
revised How to check if two instances are of the same class Python
added 94 characters in body
2d
revised How to check if two instances are of the same class Python
deleted 200 characters in body
2d
answered How to check if two instances are of the same class Python
2d
answered Better way to set default value in django model field
2d
comment Better way to set default value in django model field
I am currently checking out select_for_update to see if that will work out. I guess this is also a valid alternative approach so accepting it. Wouldn't there be break after save inside the loop ?
Apr
22
asked Better way to set default value in django model field
Apr
14
answered Scraping and writing output to text file
Apr
14
comment How to set Plain Email Sender Name in Django?
Basically do DEFAULT_FROM_EMAIL = 'No-Reply <noreply@host.com>' if that is what you are looking for.
Apr
14
comment Is it possible to generically access the response object in a Django Rest Framework ModelViewSet?
I have not used rest framework that much but looking into its documentation the design is basically django class based views. I think you can create a subclass of ModelViewSet overriding dispatch method which is usually called for response and returns a response object and add your response to that.
Apr
9
awarded Nice Answer
Mar
27
answered python django - how to unittest endpoints
Feb
24
awarded Guru
Jan
31
awarded software-recommendation
Jan
31
awarded Good Answer
Jan
1
answered how do i write a filter to get all the fields of the user 'tim' 's only
Dec
31
comment Creating a dictionary from csv
look into csv.DictReader in csv module and your delimiter may be "\t" if its tsv.
Dec
25
revised How to convert mkv to dvd or avi
added 72 characters in body
Dec
16
awarded Citizen Patrol
Nov
10
comment Insert a custom object in a sorted list
Have you looked into code.activestate.com/recipes/577197-sortedcollection. This recipe is linked in bisect module itself.
Oct
30
comment How to create the built-in function count, without using it. python
@PatrikFernberg made a function as required.
1 2 3 4 5