Skip to content

Commit

Permalink
Remove not needed models
Browse files Browse the repository at this point in the history
  • Loading branch information
r4fek committed Nov 4, 2016
1 parent 140e12c commit 38b9a91
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions testproject/app/models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from cassandra.cqlengine import columns
from cassandra.cqlengine import models
from cassandra.cqlengine.columns import UserDefinedType
from cassandra.cqlengine.usertype import UserType


class ExampleModel(models.Model):
Expand All @@ -16,13 +14,3 @@ class ExampleModel2(models.Model):

class TestProjectModel(models.Model):
id = columns.UUID(primary_key=True)


class SimpleUDT(UserType):
name = columns.Text()
value = columns.Integer()


class ExampleModelWithUDT(models.Model):
id = columns.UUID(primary_key=True)
sth = UserDefinedType(SimpleUDT)

0 comments on commit 38b9a91

Please sign in to comment.