tests/migrations/test_state.py
Statement seems to have no effect
project_state.apps
Statement seems to have no effect
project_state.apps # We need to work with rendered models
tests/migrations/test_writer.py
Use of exec
exec(string, globals(), l)
tests/model_fields/test_imagefield.py
Statement seems to have no effect
p.mugshot.size
tests/model_fields/tests.py
Lambda may not be necessary
lazy_func = lazy(lambda: datetime.datetime.now(), datetime.datetime)
tests/model_forms/tests.py
class already defined line 382
class PriceFormWithoutQuantity(forms.ModelForm):
tests/model_inheritance/tests.py
Expression "Place.objects.get(name='Demon Dogs').restaurant.italianrestaurant" is assigned to nothing
Place.objects.get(name="Demon Dogs").restaurant.italianrestaurant
Statement seems to have no effect
p.restaurant
tests/modeladmin/tests.py
class already defined line 135
class BandAdmin(ModelAdmin):
tests/one_to_one/tests.py
Statement seems to have no effect
p.restaurant
Statement seems to have no effect
private_school.director
tests/prefetch_related/test_prefetch_related_objects.py
Expression "[list(book.first_time_authors.all()) for book in books]" is assigned to nothing
[list(book.first_time_authors.all()) for book in books]
tests/prefetch_related/tests.py
Expression "[list(b.first_time_authors.all()) for b in Book.objects.prefetch_related(u'first_time_authors')]" is assigned to nothing
[list(b.first_time_authors.all())
Expression "[list(a.books.all()) for a in without_prefetch]" is assigned to nothing
[list(a.books.all()) for a in without_prefetch]
Statement seems to have no effect
[c.content_object for c in qs]
tests/queries/tests.py
Expression "self.get_ordered_articles()[0:5:3]" is assigned to nothing
self.get_ordered_articles()[0:5:3]
Expression "(Article.objects.all()[0:1]) & (Article.objects.all()[4:5])" is assigned to nothing
Article.objects.all()[0:1] & Article.objects.all()[4:5]
Expression "Article.objects.all()[-1]" is assigned to nothing
Article.objects.all()[-1]
Expression "Article.objects.all()[0:-5]" is assigned to nothing
Article.objects.all()[0:-5]
Statement seems to have no effect
task_get.creator.staffuser.staff
More
Previous Next