Changes between Initial Version and Version 2 of Ticket #7237
- Timestamp:
- Jun 16, 2008, 11:03:28 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7237
- Property Keywords qsrf-cleanup added
-
Ticket #7237 – Description
initial v2 1 1 I've inherited django.contrib.auth.User model 2 2 {{{ 3 3 class MyUser(User): 4 4 friends = models.ManyToManyField("self", symmetrical = False, … … 7 7 class Admin: 8 8 pass 9 9 }}} 10 10 Other fields were removed for simplicity. 11 11 12 12 Now I run shell and: 13 {{{ 13 14 u1 = MyUser.objects.create_user(username='test1', 14 15 email='test1@test.com', password='test') … … 26 27 u2.f_set.all() 27 28 [<MyUser: test2>] 28 29 }}} 29 30 So, I guess it's a bug. If you add a u3 and add it to the friends of 30 31 u1: 32 {{{ 31 33 u1.friends.all() 32 34 [<MyUser: test1>, <MyUser: test1>] 35 }}}