[Fixed]-ValueError at /createuser/ invalid literal for int() with base 10: 'satya' 12 December 2023 by thecoderscamp.com 1👍 ✅ I think you need to do group.user_set.add(user.id) 👤itzMEonTV Conditionally change django template variable Source:stackexchange.com