@Cosbgn: I'd personally say pretty bad in general. If your issues are because of using different database engines (e.g. SQLite in dev, MySQL/PostgreSQL in prod), then it would be worth using the same engine in both cases. If it's about the actual data, I'd say it would be a better idea to duplicate the data into a separate database rather than testing directly in production.
@koderNeptune: I think his suggestion may have been to create groups to assign to different types of users and check those (at login if necessary, and certainly before loading any page that should only be accessible by either group).
In my website static files are stored at S3 and hosted by cloudfront.
I want the browser and cdn to cache the static files which these are doing now but the problem is if there is any change in css, js it doesn't re-fetch those files. How can I create version of the static files. Any package for django? I want to change the version of only those files which have been changed.
And version of other static files should not be changed