{"id":15638389,"url":"https://github.com/kmmbvnr/django-any","last_synced_at":"2025-04-15T16:57:17.227Z","repository":{"id":920589,"uuid":"684640","full_name":"kmmbvnr/django-any","owner":"kmmbvnr","description":"[DEPRICATED] Unobtrusive test models  creation for django","archived":false,"fork":false,"pushed_at":"2011-10-08T16:52:07.000Z","size":314,"stargazers_count":72,"open_issues_count":14,"forks_count":33,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-12T09:12:21.399Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kmmbvnr.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-05-25T06:27:30.000Z","updated_at":"2025-02-24T19:27:36.000Z","dependencies_parsed_at":"2022-08-16T11:30:14.146Z","dependency_job_id":null,"html_url":"https://github.com/kmmbvnr/django-any","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmmbvnr%2Fdjango-any","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmmbvnr%2Fdjango-any/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmmbvnr%2Fdjango-any/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmmbvnr%2Fdjango-any/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmmbvnr","download_url":"https://codeload.github.com/kmmbvnr/django-any/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246112638,"owners_count":20725300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T11:21:26.679Z","updated_at":"2025-03-30T16:32:03.229Z","avatar_url":"https://github.com/kmmbvnr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Unobtrusive test models creation for django\n===========================================\n\ndjango-any the explicit replacement for old-style, big and error-prone\nimplicit fixture files.\n\ndjango-any allows to specify only fields important for test,\nand fill rest by random with acceptable values.\n\nIt makes tests clean and easy to undestood, without reading fixture files.\n\n\n    from django_any import any_model, WithTestDataSeed\n\n    class TestMyShop(TestCase):\n        def test_order_updates_user_account(self):\n            account = any_model(Account, amount=25, user__is_active=True)\n            order = any_model(Order, user=account.user, amount=10)\n            order.proceed()\n\n            account = Account.objects.get(pk=account.pk)\n            self.assertEquals(15, account.amount)\n\n\nThe same approach available for forms also (django_any.any_form)\n\nSee docs/quickstart.txt for more details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmmbvnr%2Fdjango-any","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmmbvnr%2Fdjango-any","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmmbvnr%2Fdjango-any/lists"}