how to select or display records based on some query in django's admin -


(i'm django newbie)

we need delete records django table (comments).

i prefer admin , not directly using database engine (mysql, btw), because of naive assumption handle relastionships or software restrictions.

there hundreds or thousands of records, , ideal put query somehow, , select all.

how can filter recordset in admin?

django: latest stable.

thank you

python script / django console option? there

comment.objects.filter(**where_dict).delete() 

of course not best try directly on production environments :)


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -