1. indifex
  2. transifex

Commits

Apostolis Bessas  committed 5ee07cd

The API for the release returns the resource.project.slug, too.

This is necessary for handle the case of outsourced projects.

  • Participants
  • Parent commits 72934c9
  • Branches default

Comments (0)

Files changed (1)

File transifex/releases/api.py

View file
  • Ignore whitespace
 
     allowed_methods = ('GET',)
     model = Release
-    fields = ('slug', 'name', 'project_slug', 'release_date', ('resources', ('slug', 'name',)))
+    fields = ('slug', 'name', 'project_slug', 'release_date', ('resources', ('slug', 'name', ('project', ('slug', )))))
     exclude = ()
 
     @classmethod