You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hello everyone. My doubt is how to fetch the recent two database entries in django. User may enter into database anytime but the query should always fetch last two entries.
C. Kirby
unread,
Jun 18, 2014, 11:45:12 AM6/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
You really need to show the models you are interested in this working on. In particular you will need the models to have a "created time" or something similar to order your query on.
Kirby
Stodge
unread,
Jun 19, 2014, 8:44:02 AM6/19/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message