You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to extend BaseCork, and User for a work project: I need to keep a count of the number of records in a database a User has seen.
I've made the changes I need, but I keep on getting an error when I try to import User from cork. Was it never intended that User would be inherited? If so, how do I disable this?
Yours
Tom
The text was updated successfully, but these errors were encountered:
Sorry to be a pain: I've deleted the parts where I've been using a custom User. I'm trying to get a custom Cork to work, but I keep on getting an invalid registration number error when I create a new account with the new TKCork class.
All I need it to do is add a 'annotated' field to the user data. There must be some easy way to inherit Cork and make my version of the class do that without having to re-write half of the class methods.
Dear Federico,
I need to extend BaseCork, and User for a work project: I need to keep a count of the number of records in a database a User has seen.
I've made the changes I need, but I keep on getting an error when I try to import User from cork. Was it never intended that User would be inherited? If so, how do I disable this?
Yours
Tom
The text was updated successfully, but these errors were encountered: