mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 07:31:00 +00:00
1 line
4.0 KiB
JSON
1 line
4.0 KiB
JSON
[{"user_id": 1822, "stars": [], "topic_id": 12486, "date_created": 1299881756.3370309, "message": "have you done the sanity check of just (*args, **kwargs)", "group_id": 81, "id": 328004}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299881559.5584409, "message": "I originally tried", "group_id": 81, "id": 327952}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299881430.780071, "message": "# django.db.models.signals.pre_delete\ndef delete_subscription(obj, **kwargs):\n", "group_id": 81, "id": 327927}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299881766.0150349, "message": "hm", "group_id": 81, "id": 328012}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299881538.267442, "message": "delete_subscription() takes exactly 1 non-keyword argument (0 given)", "group_id": 81, "id": 327949}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299881536.718401, "message": "I'm getting this error:", "group_id": 81, "id": 327947}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299881629.604188, "message": "\ndef delete_subscription(sender, obj, **kwargs):\n", "group_id": 81, "id": 327977}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299884488.0264211, "message": "I changed the function def back to:", "group_id": 81, "id": 328494}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299881720.0452459, "message": "but I got another error about the number of arguments", "group_id": 81, "id": 327998}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299881760.4305949, "message": "anyone know the correct number and type of arguments a pre_delete receiver should accept?", "group_id": 81, "id": 328009}, {"user_id": 1822, "stars": [], "topic_id": 12486, "date_created": 1299881819.1678109, "message": "from the docs: \"Notice that the function takes a sender argument, along with wildcard keyword arguments (**kwargs); all signal handlers must take these arguments.\"", "group_id": 81, "id": 328026}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299882905.5144479, "message": "it's a function", "group_id": 81, "id": 328230}, {"user_id": 17897, "stars": [], "topic_id": 12486, "date_created": 1299882808.7370081, "message": "just to cover the basics. is delete_subscription a method or a function?", "group_id": 81, "id": 328207}, {"user_id": 17897, "stars": [], "topic_id": 12486, "date_created": 1299882820.2822011, "message": "if it's a method you're missing self.", "group_id": 81, "id": 328212}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299884644.360141, "message": "just need to make both args kwargs", "group_id": 81, "id": 328540}, {"user_id": 17897, "stars": [], "topic_id": 12486, "date_created": 1299884740.5482531, "message": "or try naming your parameters sender and instance", "group_id": 81, "id": 328552}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299884512.9800971, "message": "and now it says: delete_subscription() takes exactly 2 non-keyword arguments (1 given)", "group_id": 81, "id": 328505}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299884632.84023, "message": "so it's sending NO non-keyword args", "group_id": 81, "id": 328535}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299884502.2080679, "message": "def delete_subscription(sender, obj, **kwargs):\n", "group_id": 81, "id": 328501}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299884462.724124, "message": "huh", "group_id": 81, "id": 328482}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299884616.052937, "message": "ooooooh", "group_id": 81, "id": 328530}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299884617.93782, "message": "signals.pre_delete.send(sender=cls, instance=instance) ", "group_id": 81, "id": 328531}, {"user_id": 275, "stars": [], "topic_id": 12486, "date_created": 1299886653.504066, "message": "just using **kwargs did i", "group_id": 81, "id": 328836}] |