Coder Social home page Coder Social logo

joe513 / django-cool-pagination Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 1.0 59 KB

:anchor:Simple pagination app that saves your time.

Home Page: https://pypi.org/project/django-cool-pagination/

License: MIT License

Python 89.38% HTML 10.62%
bootstrap bootstrap4 django django-application pagination python

django-cool-pagination's People

Contributors

joe513 avatar marcinpetrow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

marcinpetrow

django-cool-pagination's Issues

We need to add more "cool paginators".

We need to support more paginator templates.

Now we have only one paginator, it's bootstrap's one.

Actually, this isn't main goal, but it would be nice if there were more pagintor templates.

We need to add more paginator templates.

Properly write docstrings.

Properly write docstrings.

Current docstrings are bad. I need to write better docstrings for paginator's custom tag functions.

branch: project

Which name is better for the reusable app?

Which name is better for the reusable app?

Sometimes I think which is better:

django_cool_paginator

or

django_cool_pagination.

Currently it's django_cool_paginator. But it seems incorrectly little bit because actually this is a pagination and there are no paginators here.

Is it ok to name app as the project name?

Add README md and rst versions.

Add README md and rst versions.

Currently we don't have any normal README files. We have to add both README.md and README.rst for PyPI and GitHub platforms. Also, I think I have to change versioning plan. We will change setup.py file.

Improve GIF

Improve GIF

Current gif is pretty bad. It's needed to delete defects in order it will be properly being displayed.

Actually we need:

  • Increase gif size
  • Delete immediately displaying black border
  • Improve at all

Which name is better for main pagination module?

Which name is better for main pagination module?

Currently, to load pagination module user has to write:
{% load cool_paginte %}
So, to start pagination user has to write
{% cool_paginate ... %}
Is it ok? Won't user be confused due to similiar names?

Maybe it will be better to write similiar names?

Add tests.

Add tests.

Currently we lack ability to test our reusable app. I think we have to add more tests not to loss of control over the project. It's required and must be done.

Improve ellipsis_or_number tag function

Improve ellipsis_or_number tag function

I think we can improve it. It has been hastily created so that I wasn't thinking about optimization This function is very important, most of the pagination part uses this function.

Make it more customizable.

Make it more customizable.

Currently we have only COOL_PAGINATOR_SIZE setting to customize cool pagination. It's needed to add more settings for customization.

Optimize CI and Coveralls

Optimize CI and Coveralls

I hastily created CI and Coveralls for the project. I wasn't thinking about optimization. It's needed to configure CI in order to it will properly work.

Add Travis CI support.

Add Travis CI support.

Currently I don't have any CI for the project. I need to add CI support to be sure it properly works and can be added to different Django versions.

Tasks:

  • Works at all
  • Properly tests all main features.
  • Works on different Python/Django versions
  • CI itself for being sure it works as expected
  • Add a badge to README.md file, to be aware of all build fails etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.