Commits

Andreas Loupasakis  committed 7e911f2

Excluded source_file filed of Resource object, in edit resource page.

  • Participants
  • Parent commits 9016ce6

Comments (0)

Files changed (1)

File transifex/resources/forms.py

 
     class Meta:
         model = Resource
-        exclude = ('project', 'resource_group')
+        exclude = ('project', 'resource_group', 'source_file')
 
 
 class CreateResourceForm(forms.ModelForm):
 
 class ResourceTranslationForm(forms.Form):
     """
-    Form to to be used for creating/getting StorageFile object id on the fky,
+    Form to to be used for creating/getting StorageFile object id on the fly,
     using StorageFileField.
     """
     def __init__(self, *args, **kwargs):
 
         self.fields['resource_translation'] = StorageFileField(
             label=_('Resource file'),
-            help_text=_("Select a file from your file system to be used too "
+            help_text=_("Select a file from your file system to be used to "
                 "fill translations for this resource."), language=language)