How do I inform a user if an event has been created by the admin in Django?
So, I can really only give you some general direction, as I don't know the particulars, but basically you could do something like this:
First, I would add an override to the save_model() method of your admin class. This is where you can check to see if your object has a primary key yet. If not, you can set a flag to create the event (not sure if you need to also associate your event to the notification via a foreign key.
If you don't need to have an association between your Event and the notification, you could skip setting a flag and just create the notification object whenever you want.
Second, create a view that returns JSON for your events. I'm not sure how you would need to filter these objects. Is it only for logged in users, etc, but you would only want to return ones that have not been previously viewed.
Third, call the view via ajax on an interval, passing in whatever criteria you need to filter the results and record the notification has been viewed.
Hope that gets you going.
We're currently developing a system for a certain organization. One of the requirement is to inform users whenever the admin creates an event. All the site users should be notified not through e-mail but something similar to Facebook notification. How do I implement such feature in Django without using Django-notifications, Django-activity streams, etc. We're newbies to Django and we wanted to implement such feature as simple as it can be. I hope you can help us with this matter. Thank you all!