forked from django-tastypie/django-tastypie
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean-up to get the alphanumeric tests fixed. v0.8.3
- Loading branch information
1 parent
6ede26f
commit 08e40e4
Showing
7 changed files
with
26 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__author__ = 'Daniel Lindsley, Cody Soyland, Matt Croydon' | ||
__version__ = (0, 8, 2) | ||
__version__ = (0, 8, 3) |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
from tastypie.authorization import Authorization | ||
from tastypie.fields import CharField | ||
from tastypie.resources import ModelResource | ||
from alphanumeric.models import Product | ||
|
||
|
||
class ProductResource(ModelResource): | ||
|
||
class Meta: | ||
resource_name = 'products' | ||
queryset = Product.objects.all() | ||
authorization = Authorization() |
This file contains 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