<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django-rest-framework/docs/api-guide, branch 2.4.4</title>
<subtitle>Web APIs for Django.</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/'/>
<entry>
<title>Update authentication.md</title>
<updated>2014-10-29T20:31:36+00:00</updated>
<author>
<name>Andrew Conti</name>
</author>
<published>2014-10-29T20:31:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=f25f05dde58908ca6885c88499e4d5984f0f3502'/>
<id>f25f05dde58908ca6885c88499e4d5984f0f3502</id>
<content type='text'>
Based on the [new documentation](https://docs.djangoproject.com/en/dev/topics/auth/customizing/#django.contrib.auth.get_user_model) for Django 1.7 we should now use:

```python
@receiver(post_save, sender=settings.AUTH_USER_MODEL)
```
instead of:

```python 
@receiver(post_save, sender=get_user_model())
```
because `get_user_model()` only works once Django has imported all models. Otherwise you'll get: 

```python
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.
```
When trying to start your sever after adding token authentication.

From the Docs, ( linked above as well ) :
&gt;New in Django 1.7:
&gt;When connecting to signals sent by the User model, you should specify the custom model using the AUTH_USER_MODEL setting.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on the [new documentation](https://docs.djangoproject.com/en/dev/topics/auth/customizing/#django.contrib.auth.get_user_model) for Django 1.7 we should now use:

```python
@receiver(post_save, sender=settings.AUTH_USER_MODEL)
```
instead of:

```python 
@receiver(post_save, sender=get_user_model())
```
because `get_user_model()` only works once Django has imported all models. Otherwise you'll get: 

```python
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.
```
When trying to start your sever after adding token authentication.

From the Docs, ( linked above as well ) :
&gt;New in Django 1.7:
&gt;When connecting to signals sent by the User model, you should specify the custom model using the AUTH_USER_MODEL setting.</pre>
</div>
</content>
</entry>
<entry>
<title>Add djoser to authentication docs.</title>
<updated>2014-10-16T11:48:18+00:00</updated>
<author>
<name>konradhalas</name>
</author>
<published>2014-10-16T11:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=113a28ed8ad65d912180e8be7a92b679251b0249'/>
<id>113a28ed8ad65d912180e8be7a92b679251b0249</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove patterns and strings from urls #1898</title>
<updated>2014-09-23T21:10:02+00:00</updated>
<author>
<name>Collin Anderson</name>
</author>
<published>2014-09-23T21:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=da385c9c1f9deeeefd705154a6e6612d6d62f41b'/>
<id>da385c9c1f9deeeefd705154a6e6612d6d62f41b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed code formatting</title>
<updated>2014-09-17T16:29:15+00:00</updated>
<author>
<name>Matthew J Morrison</name>
</author>
<published>2014-09-17T16:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=764366b2e11ad9ad85dd34500e95721011cae7d4'/>
<id>764366b2e11ad9ad85dd34500e95721011cae7d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clarify "raised inside REST framework"</title>
<updated>2014-09-17T12:49:54+00:00</updated>
<author>
<name>Matthew J Morrison</name>
</author>
<published>2014-09-17T12:49:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=e5af0bbb353e772473b1d9fcfc896bfd7365db2a'/>
<id>e5af0bbb353e772473b1d9fcfc896bfd7365db2a</id>
<content type='text'>
I ran into an issue today where I was not seeing the rest_framework.views.exception_handler do what I thought it should be doing. It turned out that I had imported View from rest_framework.views rather than importing APIView from rest_framework.views. The phrase "raised inside REST framework" was confusing as I was debugging this issue. I was unsure if that meant that I could raise those exceptions in my code or if it had to originate from within framework code.

I'm not sure if the proposed wording is ideal, I just wanted to point out what I found to be confusing.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I ran into an issue today where I was not seeing the rest_framework.views.exception_handler do what I thought it should be doing. It turned out that I had imported View from rest_framework.views rather than importing APIView from rest_framework.views. The phrase "raised inside REST framework" was confusing as I was debugging this issue. I was unsure if that meant that I could raise those exceptions in my code or if it had to originate from within framework code.

I'm not sure if the proposed wording is ideal, I just wanted to point out what I found to be confusing.</pre>
</div>
</content>
</entry>
<entry>
<title>add django rest pandas</title>
<updated>2014-09-10T16:55:43+00:00</updated>
<author>
<name>S. Andrew Sheppard</name>
</author>
<published>2014-09-10T16:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=e76f56a3d687159327b8bef5bf9bc2ad28c99ea3'/>
<id>e76f56a3d687159327b8bef5bf9bc2ad28c99ea3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing quotes in filtering.md</title>
<updated>2014-09-07T16:53:21+00:00</updated>
<author>
<name>Darren Maki</name>
</author>
<published>2014-09-07T16:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=fe06d96dec0182f56fd4e72bcd71a26c923bb834'/>
<id>fe06d96dec0182f56fd4e72bcd71a26c923bb834</id>
<content type='text'>
Incorrect quotes used in examples.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Incorrect quotes used in examples.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1784 from tomchristie/remove-model-attribute</title>
<updated>2014-08-29T09:03:07+00:00</updated>
<author>
<name>Tom Christie</name>
</author>
<published>2014-08-29T09:03:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=8f4ae06b3b3b9572d72529ffad1842f63ca67d91'/>
<id>8f4ae06b3b3b9572d72529ffad1842f63ca67d91</id>
<content type='text'>
Deprecate `.model` attribute on views</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecate `.model` attribute on views</pre>
</div>
</content>
</entry>
<entry>
<title>Update generic-views.md</title>
<updated>2014-08-28T00:57:40+00:00</updated>
<author>
<name>Nathan Hubbell</name>
</author>
<published>2014-08-28T00:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=be21cafd2bbca36bcf9e55b1565ba57c9e3f76d6'/>
<id>be21cafd2bbca36bcf9e55b1565ba57c9e3f76d6</id>
<content type='text'>
Small grammar changes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Small grammar changes.</pre>
</div>
</content>
</entry>
<entry>
<title>Update generic-views.md</title>
<updated>2014-08-27T00:31:08+00:00</updated>
<author>
<name>Nathan Hubbell</name>
</author>
<published>2014-08-27T00:31:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=19076510f4039aa6886854679e21352fffb5354f'/>
<id>19076510f4039aa6886854679e21352fffb5354f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
