# Path: findingaids/fa/models.py
# class Deleted(models.Model):
#     """
#     Information about a previously published finding aid that has been deleted.
#     """
#     eadid = models.CharField('EAD Identifier', max_length=50, unique=True)
#     title = models.CharField(max_length=200)
#     date = models.DateTimeField('Date removed', auto_now_add=True)
#     note = models.CharField(
#         max_length=400, blank=True,
#         help_text="Optional: Enter the reason this document is being deleted. " +
#                   "These comments will be displayed to anyone who had the finding " +
#                   "aid bookmarked and returns after it is gone.")
# 
#     class Meta:
#         verbose_name = 'Deleted Record'
# 
#     def __unicode__(self):
#         return self.eadid


from django.forms import Textarea, TextInput
from findingaids.fa.models import Deleted
from django.forms import ModelForm
# file findingaids/fa_admin/forms.py
#
#   Copyright 2012 Emory University Library
#
#   Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
#
#   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.



class DeleteForm(ModelForm):
    class Meta:
        model = Deleted
        # django 1.8 requires explicit field list or exclude list;
        # include all fields for now

# Path: findingaids/fa/models.py
# class Deleted(models.Model):
#     """
#     Information about a previously published finding aid that has been deleted.
#     """
#     eadid = models.CharField('EAD Identifier', max_length=50, unique=True)
#     title = models.CharField(max_length=200)
#     date = models.DateTimeField('Date removed', auto_now_add=True)
#     note = models.CharField(
#         max_length=400, blank=True,
#         help_text="Optional: Enter the reason this document is being deleted. " +
#                   "These comments will be displayed to anyone who had the finding " +
#                   "aid bookmarked and returns after it is gone.")
# 
#     class Meta:
#         verbose_name = 'Deleted Record'
# 
#     def __unicode__(self):
#         return self.eadid


# Path: findingaids/fa_admin/forms.py
from django.forms import Textarea, TextInput
from findingaids.fa.models import Deleted
from django.forms import ModelForm

# file findingaids/fa_admin/forms.py
#
#   Copyright 2012 Emory University Library
#
#   Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
#
#   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.



class DeleteForm(ModelForm):
    class Meta:
        model = Deleted
        # django 1.8 requires explicit field list or exclude list;
        # include all fields for now

        exclude = []