DEV Community

Cover image for lisa-orm pre-alpha
marwan mohamed
marwan mohamed

Posted on

lisa-orm pre-alpha

Not long ago, I decided to make an ORM like djano ORM ...
I didn't actually start working on it until I broke my leg and stayed home two weeks ago.
the truth is I've only worked on it for a few hours in the last week 🙂😅🙄.
It doesn't exactly look like Django ORM, but it does look a bit like it
This is pre-alpha. version.



If you want, you can download it from pypi and tell me your opinion and suggestions for its development, and I will be very thankful 🌹🥰️.

note: lisa is my dog 🐶

from lisa_orm.db import models


class MyModel(metaclass=models.ModelMeta):
  table_name = 'my_table_name' # -> Name your model it's mandatory

  my_field_one = models.CharField(max_length=40, null=True)
  my_field_two = models.IntegerField(unique=True)

Enter fullscreen mode Exit fullscreen mode

Top comments (0)