GithubHelp home page GithubHelp logo

christhekeele / django-native-datatables Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 1.0 225 KB

A django based, easily customizable app leveraging the features of datatables.net through the efficiency of querysets

Python 69.73% JavaScript 19.27% CoffeeScript 11.00%

django-native-datatables's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

qiailin

django-native-datatables's Issues

Proof of Concept

This is clever and all, but will the basic business logic work?
More specifically,

  • can a custom Dataset queryset chain easily?
  • can it bind to an object_set, provided or from a ListView, in some fashion?
  • can it render a transformed iterable?
  • can it apply those transformations without losing the original object_set for future transformations?
  • can the necessary transformations be applied in a consistant and effective order?
  • can each piece of functionality (column selecting, filtering by column, searching across text, ordering by column, paginating) be mapped to a standard queryset filter?
  • can AJAX update a queryset based on user-supplied information?
  • can a table of records be re-rendered by that AJAX when that queryset changes?

If the answer to any of these is no, the project must be scrapped or taken down a different path altogether. Time to do some research.

error: No module named base.helpers.django_utils

When trying the django-native-datatables package I am getting an import error: No module named base.helpers.django_utils. I have found the line

from base.helpers.django_utils import get_current_user

So what package in django 1.4.1 does really export get_current_user?

Integration/Cooperation with django-tables2

I wonder if a project that basically wraps https://github.com/bradleyayers/django-tables2 would cut down the scope on what needs to happen here. It seems like the base problem of defining a table, columns, data source, etc. is all within the scope of django-tables2. I've been using a forked version of that project with great success, and it seems like wrapping their table object to provide ways of handling datatables' requirements might be a good fit.

Are you familiar with this project?

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.