Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple tables with ajax_source #50

Open
arambadk opened this issue May 1, 2016 · 0 comments
Open

Multiple tables with ajax_source #50

arambadk opened this issue May 1, 2016 · 0 comments

Comments

@arambadk
Copy link

arambadk commented May 1, 2016

I have multiple tables in my app that have different structures. I want all of them to use ajax_source. The only way I would get it to work was to define two url's

url(r'^table/data/$', DataView1.as_view(), name='dataview1'),
url(r'^table2/data/$', DataView2.as_view(), name='dataview2'),

I tried inheritance method but kept on running issues with value of the token variable. Is t here a better way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant