Community Page
- www.codespatter.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- You can do this. from somewhere import SoftDeleteManager class NewManager(SoftDeleteManager): '''new stuff''' and in the model objects = NewManager()
- Great writeup, thanks for that! I'll have question though. Say I import SoftDeleteManager from an external file and use it with objects = SoftDeleteManager() But now, I loose ability to define...
- thanks, man!
- Yes! Finally I know where that annoying example.com lives! Thank you!
- Thanks very much! I think you just saved me a lot of stuffing around with settings.py
Jump to original thread »
There has been one thing that has driven me crazy since the begining days of my php programming. I understand that using @ to suppress errors can be useful. But what I don’t understand is why php would ever want to suppress a fatal error. Normally if @function() causes a fatal er
... Continue reading »
9 months ago
7 months ago
I open use it to suppress errors from file manipulations (delete, etc). Whatever happened to the good old days of coding when stuff returned 0 on success? Exceptions have their purpose, but I think sometimes that PHP's gone exception crazy.
7 months ago