>
> Neither one of these is what was being asked for.

I didn't say I have found what I was looking for.

All answers are sufficient to me for now. Thanks.

On Sun, May 14, 2017 at 10:51 PM, James Bennett <[email protected]>
wrote:

> On Sun, May 14, 2017 at 1:36 PM, Nick Gilmour <[email protected]>
> wrote:
>
>> Definition of url:
>>
>> *def url(regex, view, kwargs=None, name=None):*
>>
>> I also found this:
>> *def view(request, *args, **kwargs):*
>>
>>
> Neither one of these is what was being asked for.
>
> And like several people have said, what's being asked for doesn't exist: a
> Django view is defined as a callable Python object which takes as its first
> position argument an HttpRequest object, may or may not accept additional
> positional and/or keyword arguments, and either returns an HttpResponse
> object or raises an exception. That definition does not allow for a single
> universal argument signature that will work on all views.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CAL13Cg-GaiFF9E4in7vfaSd6zbiQkSsLRbpXe
> 5Y6YR0KGeKJ_Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAL13Cg-GaiFF9E4in7vfaSd6zbiQkSsLRbpXe5Y6YR0KGeKJ_Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAH-drow2ebTVu2x2Q3zAO0e228-7V6L_6wQXWJNrRt15s7Sx-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to