Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Commit

Permalink
a couple of quick additions.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrporter committed Nov 22, 2017
1 parent 7f74b0d commit c960f50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions client/test_new_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ def test_run(self):
self.assertEqual(
os.path.basename(getattr(proj, filetype).name),
'.'.join([PROJ_NAME, filetype]))

# should be able to grompp
proj.grompp()
2 changes: 1 addition & 1 deletion tprs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class Project(models.Model):

class Meta:
ordering = ('created',)
ordering = ('name',)

name = models.CharField(max_length=200, primary_key=True)
top = models.FileField(upload_to='projects/top')
Expand Down

0 comments on commit c960f50

Please sign in to comment.