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

make code more beautiful #764

Closed
olivetree123 opened this issue Nov 21, 2015 · 3 comments
Closed

make code more beautiful #764

olivetree123 opened this issue Nov 21, 2015 · 3 comments

Comments

@olivetree123
Copy link

The 'Meta class' makes code ugly,would you prepare to make code like this:

class Gym(Model):
db_table = 'gym'
id = IntegerField(primary_key=True)

@coleifer
Copy link
Owner

No, that has been that way since version 0.1.0. Are you serious? Do you think I'd actually change it?

@coleifer
Copy link
Owner

Also, cluttering up the namespace is grosser to me.

@coleifer
Copy link
Owner

Also bite me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants