'The behavior for setting initial form data can be overridden in the
ModelAdmin class. Usually, the initial value is set via the GET params.'

def test_initial_data_can_be_overridden(self):

    response = self.client.get(reverse('admin:admin_views_restaurant_add', current_app=self.current_app), {'name': 'test_value'})
    self.assertNotContains(response, 'value="test_value"')
    self.assertContains(response, 'value="overridden_value"')
