mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Probably should split into separate repo at some point, but committing here so I don't lose it
23 lines
621 B
Python
23 lines
621 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
import DiscourseAuth.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='AuthAttempt',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
|
('nonce', models.CharField(default=DiscourseAuth.models.gen_nonce, max_length=25)),
|
|
('created', models.DateTimeField(auto_now=True)),
|
|
],
|
|
),
|
|
]
|