python - How to add a pagination "go to page" form set to Django admin on a ModelAdmin form? -


here's gist of desired scenario:

i've got standard django pagination going in admin site. i'd let user enter number text input corresponds page number. user presses enter or clicks button. results page number entered shown.

note:

  • i'm using django 1.2.3 python 2.65
  • i'm modifying modelform else created our admin site.

any ideas, suggestions, and/or comments appreciated!

thank you,

michaux

every pagination system have come across including standard django pagination uses parameters rendering page.

so, providing form page number of page displayed simplest thing can html forms.

<form>      <input type="text" name="page">     <input type="submit">  </form> 

to include this, might want override corresponding admin template.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -