Created
July 22, 2015 14:15
-
-
Save edvm/ff879f7aba2652aecd7e to your computer and use it in GitHub Desktop.
es de forro?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # unique_together tuple is ordered in how the name should appear | |
| return ' '.join( | |
| map((lambda v: v.title().replace('-', ' ')), | |
| filter(lambda v: v is not None, [params.get(k, None) for k in self.get_unique_together_field_names()])) | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment