Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
remove password/css fields from old users model
Browse files Browse the repository at this point in the history
neither of those have been in use for many years
  • Loading branch information
thraxil committed Feb 12, 2023
1 parent 240dc7d commit 9cdd3f3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
@@ -0,0 +1,21 @@
# Generated by Django 4.1.6 on 2023-02-12 13:50

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('abraxas', '0008_auto_20171013_1004'),
]

operations = [
migrations.RemoveField(
model_name='users',
name='css',
),
migrations.RemoveField(
model_name='users',
name='password',
),
]
2 changes: 0 additions & 2 deletions mithras/abraxas/models.py
Expand Up @@ -9,9 +9,7 @@ class Users(models.Model):
username = models.CharField(unique=True, max_length=128)
email = models.CharField(max_length=256)
fullname = models.CharField(max_length=256)
password = models.CharField(max_length=256)
bio = models.TextField()
css = models.TextField()

class Meta:
db_table = "users"
Expand Down
2 changes: 0 additions & 2 deletions mithras/abraxas/tests/factories.py
Expand Up @@ -11,9 +11,7 @@ class Meta:
username = factory.Sequence(lambda n: "testuser%d" % n)
email = "test@example.com"
fullname = "test user"
password = "foo"
bio = "a bio"
css = ""


class NodeFactory(factory.django.DjangoModelFactory):
Expand Down

0 comments on commit 9cdd3f3

Please sign in to comment.