A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
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 StringIO import StringIO | |
| from django.core.handlers.wsgi import WSGIRequest | |
| def fake_get(path='/', user=None): | |
| req = WSGIRequest({ | |
| 'REQUEST_METHOD': 'GET', | |
| 'PATH_INFO': path, | |
| 'wsgi.input': StringIO()}) | |
| from django.contrib.auth.models import AnonymousUser | |
| req.user = AnonymousUser() if user is None else user |