django should not overwrite model class docstrings
    
    
    
      
      
      
        
django currently overwrites your model's docstring with "modulename.ModelName(arg1, arg2)" This makes it impossible to put doctests in your model class. Django shouldn't overwrite your docstring if you define one.
       
     
   
 
  
    Attachments
    (1)
  
    
      - patch.diff
 (717 bytes
) - added by jkocherhans@… 20 years ago.
 
      - this patch only writes a default docsting for a model class if you haven't defined one in your model
 
    
    
  Download all attachments as:
  .zip
   
 
      
        
        
          Change History
          (2)
        
          
          
  
  
  
    
      | Resolution: | 
      
        → fixed
       | 
    
    
      | Status: | 
      
        new → closed
       | 
    
  
 
           
          
         
       
     
        
    
    
this patch only writes a default docsting for a model class if you haven't defined one in your model