Tagged “python”

  1. type object ‘MyModel’ has no attribute ‘DoesNotExist’
    TIL not all model attributes are created equally
    django python til
  2. Better Python mock assertions
    Avoiding tortured assertions when mocking
    python testing
  3. Python mocks should always have a spec
    Except when they shouldn’t!
    python testing
  4. Learning about Python performance optimisation
    Adventures in making my code faster
    performance python
  5. highway-code-diff
    How I keep up-to-date with changes to the UK Highway Code
    python
  6. Removing errors from Datadog traces
    How to ensure your application monitoring ignores a specific error
    datadog django python
  7. Django database couldn’t be flushed
    A strange error in an unrelated part of my test suite
    django postgres python wth
  8. Cassini Traceback
    My entry for NaNoGenMo 2019 imagines how a machine might tell the story of another machine (contains flashing images)
    nanogenmo python
  9. B9 Indifference
    My entry for NaNoGenMo 2017 generates Star Trek TNG scripts!
    nanogenmo python
  10. Captain’s Log
    My entry for NaNoGenMo 2016 generates an arbitrary number of words of luckless captains and their endeavours
    nanogenmo python

See all tags.