Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a ModelAdmin class in base app to exclude created and modified fields #68

Closed
taranjeet opened this issue Nov 19, 2016 · 2 comments

Comments

@taranjeet
Copy link
Member

taranjeet commented Nov 19, 2016

The admin class should live in base apps. It will be derived from ModelAdmin class and will use exclude to exclude created and modified fields.

This is so that anyone adding an object from the admin panel should not be shown in these fields as these are handled internally by Django before saving an object.

Name of the class should be TimeStampedAdmin and it should live in base/admin.py

@deshraj deshraj added this to the Verson 1.0 milestone Nov 19, 2016
@taranjeet taranjeet changed the title Create a ModelAdmin mixin in base app to exclude created and modified fields Create a ModelAdmin class in base app to exclude created and modified fields Nov 21, 2016
@RishabhJain2018
Copy link
Member

@deshraj @trojan Can I work on this?

@deshraj
Copy link
Member

deshraj commented Nov 23, 2016

Fixed in #132

@deshraj deshraj closed this as completed Nov 23, 2016
deshraj pushed a commit that referenced this issue May 31, 2020
* Footer component Partial

* Merging Auth Page PR here

* Footer complete

* get notified api

* New lines at end of files
deshraj pushed a commit that referenced this issue Oct 14, 2020
* Pretty printing the challenges details

* Fix conflicts

* Fix conflicts

* Table format

* Fix format of challenge details

* Fix conflicts and tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants