blob: 436a90efaab98ec56cd902d1ec31689f172bd35f [file] [log] [blame]
#
# Copyright (c) 2013 Big Switch Networks, Inc.
#
# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#
from django.db import models
from django.contrib.auth.models import User
# Create your models here.
class UserData(models.Model):
user = models.ForeignKey(User, null=True)
name = models.CharField(max_length=256)
content_type = models.CharField(max_length=128)
binary = models.BooleanField()
data = models.TextField()