Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/l/i/live-latex-HEAD/server/latex/models.py   live-latex(Download)
from django.contrib.auth.models import User
from django.contrib import admin
from server.settings import INPUT_FILE_TYPES, OUTPUT_FILE_TYPES, BUILDERS
 
class UserProfile(models.Model):
	project = models.ForeignKey(Project)
	file_name = models.CharField(max_length=32)
	file_type = models.CharField(max_length=5, choices=INPUT_FILE_TYPES)
	created = models.DateTimeField()
	modified = models.DateTimeField(auto_now_add=True)

src/l/i/live-latex-HEAD/server/latex/forms.py   live-latex(Download)
# -*- coding: utf-8 -*-
from django import forms
from django.contrib.auth.models import User
from latex.models import File, Project
from server.settings import INPUT_FILE_TYPES, OUTPUT_FILE_TYPES