Skip to content

Commit 0e52334

Browse files
authored
Merge branch 'master' into django-hosting-heroku
2 parents 0bbfceb + d3876db commit 0e52334

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

django-vue-graphql/backend/blog/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import graphene
2-
from django.contrib.auth.models import User
2+
from django.contrib.auth import get_user_model
33
from graphene_django import DjangoObjectType
44

55
from blog import models
66

77

88
class UserType(DjangoObjectType):
99
class Meta:
10-
model = User
10+
model = get_user_model()
1111

1212

1313
class AuthorType(DjangoObjectType):

python-interview-problems-parsing-csv/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python Interview Problems – Parsing CSV Files
22

3-
Corresponding code for ["Python Interview Problems – Parsing CSV Files."](https://realpython.com/python-interview-problems-parsing-csv-python-files/)
3+
Corresponding code for ["Python Interview Problems – Parsing CSV Files."](https://realpython.com/python-interview-problem-parsing-csv-files)
44

55
The `skeleton_code` directory contains pytest fixtures and module files to get you set up to run pytest. There are no tests in the files, which pytest tells you when you run it:
66

@@ -16,4 +16,4 @@ collected 0 items
1616

1717
The `full_code` directory contains the source files we used to generate the examples in the article.
1818

19-
Good luck!
19+
Good luck!

0 commit comments

Comments
 (0)