Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
EdwardDiego
on Aug 29, 2023
|
parent
|
context
|
favorite
| on:
Ask HN: Why did Python win?
I figure if Django built an entire framework around metaprogramming, I'm going to do it to Django model objects as a form of vengeance.
kstrauser
on Aug 29, 2023
[–]
I want to see the malicious wonders you can create!
EdwardDiego
on Aug 29, 2023
|
parent
[–]
An easy way to start taking the fight back to the enemy is by overriding __new__ and tinkering with things before/after Django's metaclass __new__ does its own metafoolery.
Also overriding mro() is a fun way to monkey with the inner workings.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: