Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/d/j/django-easy-reports-0.2/__ereports/admin.py   django-easy-reports(Download)
    def change_view(self, request, object_id, form_url='', extra_context=None):
        object = Report.objects.get(pk=object_id)
        import sqlparse
 
        ctx = {}

src/d/j/django-easy-reports-0.2/__ereports/views.py   django-easy-reports(Download)
    def get_report(self):
        pk = self.kwargs.get('report', None)
        return Report.objects.get(pk=pk)
 
    def get_context_data(self, **kwargs):

src/k/a/Kawaz-HEAD/src/Kawaz/bugwaz/tests/models.py   Kawaz(Download)
        '''
        obj = self.new_report(self.new_product())
        found_obj=Report.objects.get(label=self.report_name)
        self.assertEqual(obj,found_obj)
 

src/c/a/candideitorg-django-0.0.1/candidator/report_objects/tests.py   candideitorg-django(Download)
        response = self.client.post(url, {'reason': 'lorem ipsum dolor sit amet'}, follow=True)
        self.assertEqual(response.status_code, 200)
        report = Report.objects.get(pk=1)
        self.assertEquals(report.reason, 'lorem ipsum dolor sit amet')