Re: django URL pattern for an unusual address

2018-01-07 Thread Dylan Reinhold
Hit send while typing ;( page = request.GET.get('page', 1) Would give you the page number, and default to 1 if nothing was passed. Dylan On Sun, Jan 7, 2018 at 8:06 AM, Dylan Reinhold wrote: > You will just match that to / > The ?page=1 you will deal with in the view you point / to. > > In yo

Re: django URL pattern for an unusual address

2018-01-07 Thread Dylan Reinhold
You will just match that to / The ?page=1 you will deal with in the view you point / to. In you view you retrive the page value from the request object Somthing like page = request.GET.get('order', 'name') Dylan On Sun, Jan 7, 2018 at 2:18 AM, christopher okoro wrote: > Which regular express