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
| $brand-primary: peachpuff !default | |
| a | |
| color: $brand-primary | |
| .navbar | |
| background-color: darken($brand-primary, 10%) |
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
| { | |
| "brand-primary": "#663399" | |
| } |
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
| static/ | |
| ├── css/ | |
| │ ├── variation_1/ | |
| │ ├── variation_2/ | |
| │ │ ├── manifest.json | |
| │ │ └── project.css | |
| │ └── project.css | |
| └── sass/ | |
| ├── components/ | |
| ├── mixins/ |
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
| diff --git a/tastypie/fields.py b/tastypie/fields.py | |
| index ae3f291..568788c 100644 | |
| --- a/tastypie/fields.py | |
| +++ b/tastypie/fields.py | |
| @@ -644,7 +644,7 @@ class RelatedField(ApiField): | |
| Accepts either a URI, a data dictionary (or dictionary-like structure) | |
| or an object with a ``pk``. | |
| """ | |
| - self.fk_resource = self.to_class() | |
| + self.fk_resource = self.to_class(api_name=self.api_name) |
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
| from django.conf.urls.defaults import url | |
| from django.db.models.sql.constants import LOOKUP_SEP | |
| from tastypie.utils import trailing_slash | |
| class ParentResourceMixin(object): | |
| """ NOTE: Needs to be filterable on detail_uri_name if not pk """ | |
| def prepend_urls(self): | |
| urls = [] |
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
| import re,requests as r | |
| s=re.sub(r'<.+?>','',r.get('http://spon.de').text).lower() | |
| for p in ['extrem','massiv','dramatisch']:print s.count(p),p |