Does Django offers a way to generate data grid from database table like web2py

1,525 views
Skip to first unread message

Sarbjit singh

unread,
Nov 27, 2014, 1:33:25 AM11/27/14
to django...@googlegroups.com
Hi,

I have been using web2py for sometime. I am exploring Django now, in web2py there is a way to generate data grids (using SQLFORM.grid) which generates very net grid based on the data model with support to add new field/edit record/delete record/view record etc.

Does Django (or any other package based on django) provides this capability?

Regards,
Sarbjit

Avraham Serour

unread,
Nov 27, 2014, 10:52:33 AM11/27/14
to django...@googlegroups.com
maybe you'll get a better chance of responding if you explained what this web2py feature does exactly

currently you have a very low chance of getting a response because you need from someone knowledgeable in both django and web2py.

What do you need? an html table with database data?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/405d6d64-54a1-457f-95d9-3cbf078f10b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sarbjit singh

unread,
Nov 27, 2014, 11:55:29 PM11/27/14
to django...@googlegroups.com
What web2py GRID does is, that it takes the SQL table/query as argument, and return the records satisfying the query.

Records which are returned are seen in bootstrap enabled table with features having pagintation, sorting, search, ability to edit/delete/view individual record, add new record etc.

(See for link - web2py grid snapshot as well)

What I want?

I just wanted to have the end result similar to as of web2py grid where records (satisfying any query) can be seen inside a tabular form with the ability to search, sort, edit/delete individual record etc.

Since, I am new to Django, I am not sure if Django provides such a thing out of box or any third party app provides this capability.

If you just click on web2py link above, snapshot of web2py grid will give you a clear idea.

-Sarbjit

Timothy W. Cook

unread,
Nov 28, 2014, 3:22:45 AM11/28/14
to django...@googlegroups.com
The Django 'admin' section provides this functionality. 


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

For more options, visit https://groups.google.com/d/optout.



--

============================================
Timothy Cook
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook

aRkadeFR

unread,
Nov 28, 2014, 4:01:31 AM11/28/14
to django...@googlegroups.com
Hello,

From my point of view, you're asking for a similar MySQL admin
with bootstrap style? Why not directly get a DB admin like pgadmin
or so?

The most similar thing will be the django admin as Timothy stated.

Thank you,

aRkadeFR
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

donarb

unread,
Nov 28, 2014, 9:38:27 AM11/28/14
to django...@googlegroups.com
There's a couple of Django packages that provide datagrid capability. Haven't used any of them, so I can't say what's best.



 
Reply all
Reply to author
Forward
0 new messages