url
stringlengths
53
56
repository_url
stringclasses
1 value
labels_url
stringlengths
67
70
comments_url
stringlengths
62
65
events_url
stringlengths
60
63
html_url
stringlengths
41
46
id
int64
450k
1.69B
node_id
stringlengths
18
32
number
int64
1
2.72k
title
stringlengths
1
209
user
dict
labels
list
state
stringclasses
1 value
locked
bool
2 classes
assignee
null
assignees
list
milestone
null
comments
list
created_at
timestamp[s]
updated_at
timestamp[s]
closed_at
timestamp[s]
author_association
stringclasses
3 values
active_lock_reason
stringclasses
2 values
body
stringlengths
0
104k
reactions
dict
timeline_url
stringlengths
62
65
performed_via_github_app
null
state_reason
stringclasses
2 values
draft
bool
2 classes
pull_request
dict
https://api.github.com/repos/coleifer/peewee/issues/14
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/14/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/14/comments
https://api.github.com/repos/coleifer/peewee/issues/14/events
https://github.com/coleifer/peewee/issues/14
2,246,032
MDU6SXNzdWUyMjQ2MDMy
14
New Model Defaults
{ "login": "jerodsanto", "id": 8212, "node_id": "MDQ6VXNlcjgyMTI=", "avatar_url": "https://avatars.githubusercontent.com/u/8212?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jerodsanto", "html_url": "https://github.com/jerodsanto", "followers_url": "https://api.github.com/users/jerodsant...
[]
closed
false
null
[]
null
[]
2011-11-15T16:32:14
2011-11-15T17:34:41
2011-11-15T17:34:41
NONE
null
When you create a model that has default field values they get used when persisting to the db (and subsequently when being initialized from the db) but not when a new object is instantiated. A contrived example: ``` python class Post(peewee.Model): comment_count = peewee.IntegerField(default=0) post = Post() pos...
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/14/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/14/timeline
null
completed
null
null
https://api.github.com/repos/coleifer/peewee/issues/13
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/13/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/13/comments
https://api.github.com/repos/coleifer/peewee/issues/13/events
https://github.com/coleifer/peewee/issues/13
2,170,587
MDU6SXNzdWUyMTcwNTg3
13
Self-referential foreign key
{ "login": "coleifer", "id": 119974, "node_id": "MDQ6VXNlcjExOTk3NA==", "avatar_url": "https://avatars.githubusercontent.com/u/119974?v=4", "gravatar_id": "", "url": "https://api.github.com/users/coleifer", "html_url": "https://github.com/coleifer", "followers_url": "https://api.github.com/users/coleife...
[]
closed
false
null
[]
null
[]
2011-11-08T03:12:09
2011-11-09T15:34:46
2011-11-09T15:34:46
OWNER
null
Would like a way to do self-referential foreign keys.
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/13/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/13/timeline
null
completed
null
null
https://api.github.com/repos/coleifer/peewee/issues/12
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/12/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/12/comments
https://api.github.com/repos/coleifer/peewee/issues/12/events
https://github.com/coleifer/peewee/issues/12
1,992,936
MDU6SXNzdWUxOTkyOTM2
12
tests
{ "login": "madisvain", "id": 727994, "node_id": "MDQ6VXNlcjcyNzk5NA==", "avatar_url": "https://avatars.githubusercontent.com/u/727994?v=4", "gravatar_id": "", "url": "https://api.github.com/users/madisvain", "html_url": "https://github.com/madisvain", "followers_url": "https://api.github.com/users/madi...
[]
closed
false
null
[]
null
[ "As to the first one, I believe that is due to unpredictable ordering with dictionaries. Joins are stored using a dictionary, so whether it joins on Blog first or EntryTag first is up in the air -- this one is a bad test case.\n\nAs to the count failure -- that's pretty odd. Looks like you're ending up with 2 ext...
2011-10-19T11:34:54
2014-11-22T03:57:14
2011-11-09T02:32:32
NONE
null
I sometimes get the following Failure: ``` python ====================================================================== FAIL: test_filter_both_directions (tests.FilterQueryTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/diggy/Documents/de...
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/12/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/12/timeline
null
completed
null
null
https://api.github.com/repos/coleifer/peewee/issues/11
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/11/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/11/comments
https://api.github.com/repos/coleifer/peewee/issues/11/events
https://github.com/coleifer/peewee/pull/11
1,804,881
MDExOlB1bGxSZXF1ZXN0MzczMTQ2
11
add "is not null" lookup support
{ "login": "jerodsanto", "id": 8212, "node_id": "MDQ6VXNlcjgyMTI=", "avatar_url": "https://avatars.githubusercontent.com/u/8212?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jerodsanto", "html_url": "https://github.com/jerodsanto", "followers_url": "https://api.github.com/users/jerodsant...
[]
closed
false
null
[]
null
[ "I'm not going to merge this since you can accomplish the same using `Q` objects:\n\n```\nNullModel.select().where(~Q(char_field__is=None))\n```\n\nI added this to the testcase to show how it is possible:\nhttps://github.com/coleifer/peewee/commit/08dabe0d6b82701c48022e5d7a758d29bfaea154\n", "Fair enough, though ...
2011-10-03T17:58:48
2014-06-25T10:24:45
2011-10-03T18:19:37
NONE
null
You have a way to query for columns with NULL values but not NOT NULL values, so I added it. I wasn't sure if you'd prefer `__isnt` or `__is_not`, but I went with the latter because it's more explicit.
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/11/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/11/timeline
null
null
false
{ "url": "https://api.github.com/repos/coleifer/peewee/pulls/11", "html_url": "https://github.com/coleifer/peewee/pull/11", "diff_url": "https://github.com/coleifer/peewee/pull/11.diff", "patch_url": "https://github.com/coleifer/peewee/pull/11.patch", "merged_at": null }
https://api.github.com/repos/coleifer/peewee/issues/10
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/10/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/10/comments
https://api.github.com/repos/coleifer/peewee/issues/10/events
https://github.com/coleifer/peewee/issues/10
1,644,030
MDU6SXNzdWUxNjQ0MDMw
10
Q() objects cannot be mixed between models
{ "login": "coleifer", "id": 119974, "node_id": "MDQ6VXNlcjExOTk3NA==", "avatar_url": "https://avatars.githubusercontent.com/u/119974?v=4", "gravatar_id": "", "url": "https://api.github.com/users/coleifer", "html_url": "https://github.com/coleifer", "followers_url": "https://api.github.com/users/coleife...
[]
closed
false
null
[]
null
[ "This has been fixed in 3f6336bba6d3a0bda691fe3e333767008c2308bb\n" ]
2011-09-14T14:31:24
2011-11-17T19:46:48
2011-11-17T19:46:48
OWNER
null
It is not possible to create an "OR" query comparing columns from two tables. This is due to the way where clauses are created programmatically: ``` # where clauses between models are separated by calls to join() or switch() Blog.select().where(Q( ??? )).join(Entry).where( Q(???) ) ``` With the new .filter() syntax,...
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/10/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/10/timeline
null
completed
null
null
https://api.github.com/repos/coleifer/peewee/issues/9
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/9/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/9/comments
https://api.github.com/repos/coleifer/peewee/issues/9/events
https://github.com/coleifer/peewee/issues/9
1,564,105
MDU6SXNzdWUxNTY0MTA1
9
Primary keys that aren't integers
{ "login": "matthewturk", "id": 89019, "node_id": "MDQ6VXNlcjg5MDE5", "avatar_url": "https://avatars.githubusercontent.com/u/89019?v=4", "gravatar_id": "", "url": "https://api.github.com/users/matthewturk", "html_url": "https://github.com/matthewturk", "followers_url": "https://api.github.com/users/matt...
[ { "id": 191752, "node_id": "MDU6TGFiZWwxOTE3NTI=", "url": "https://api.github.com/repos/coleifer/peewee/labels/Design%20decision", "name": "Design decision", "color": "02d7e1", "default": false, "description": null } ]
closed
false
null
[]
null
[ "Well, it really just looks like it's searching for a pk that evaluates to a nonzero...it will be tricky since the postgresql adapter checks the value of a sequence for the last insert id. Otherwise its just that bit in the BaseModel that checks for a PrimaryKeyField.\n\nOn the other hand, a non-integer primary ke...
2011-09-05T00:09:21
2014-07-04T03:45:09
2012-03-13T18:08:49
NONE
null
We're currently using the (hex/char) representation of UUIDs for a database, to use as primary keys. It looks like the current implementation requires Primary Key (and thus the .save() method) be an integer, and this is further checked through the isinstance call during creation of a model. It would be really great i...
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/9/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/9/timeline
null
completed
null
null
https://api.github.com/repos/coleifer/peewee/issues/8
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/8/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/8/comments
https://api.github.com/repos/coleifer/peewee/issues/8/events
https://github.com/coleifer/peewee/issues/8
1,459,812
MDU6SXNzdWUxNDU5ODEy
8
MyModel.create_table() doesn't use IF NOT EXISTS
{ "login": "jerodsanto", "id": 8212, "node_id": "MDQ6VXNlcjgyMTI=", "avatar_url": "https://avatars.githubusercontent.com/u/8212?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jerodsanto", "html_url": "https://github.com/jerodsanto", "followers_url": "https://api.github.com/users/jerodsant...
[]
closed
false
null
[]
null
[ "This is now fixed -- https://github.com/coleifer/peewee/commit/2b10102d6e4d41b2d99e16be1d83fcd3983e55a0\n", "Awesome, thanks so much!\n" ]
2011-08-22T18:00:21
2011-08-23T13:54:10
2011-08-22T23:46:35
NONE
null
The docs say that `MyModel.create_table` will noop if the table already exists, but currently it raises a `sqlite3.OperationalError` instead. It looks like the Database class method is ready for the `safe` version, but there is no way to use that from models. It'd be nice if you could pass the `safe` boolean to `MyMo...
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/8/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/8/timeline
null
completed
null
null
https://api.github.com/repos/coleifer/peewee/issues/7
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/7/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/7/comments
https://api.github.com/repos/coleifer/peewee/issues/7/events
https://github.com/coleifer/peewee/issues/7
688,851
MDU6SXNzdWU2ODg4NTE=
7
db_table isn't read from Meta class
{ "login": "peterbe", "id": 26739, "node_id": "MDQ6VXNlcjI2NzM5", "avatar_url": "https://avatars.githubusercontent.com/u/26739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peterbe", "html_url": "https://github.com/peterbe", "followers_url": "https://api.github.com/users/peterbe/follower...
[]
closed
false
null
[]
null
[ "cool, pushed a testcase indicating failure, working on fix\n", "Fix pushed in: https://github.com/coleifer/peewee/commit/981c291a83d6cb1494dfa43845db1fda56fe4028\n\nI'm looking at scrapping the whole Meta thing as a way of munging settings because the whole thing feels fragile and janky. May be an API update co...
2011-03-20T16:34:52
2011-03-21T16:19:00
2011-03-21T16:19:00
NONE
null
If I do something like this: ``` class User(peewee.Model): email = peewee.CharField() class Meta: db_table = 'users' ``` That doesn't get picked up. It's because none such extra arguments are actually used when creating the `_meta` attribute. See here: https://github.com/coleifer/pe...
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/7/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/7/timeline
null
completed
null
null
https://api.github.com/repos/coleifer/peewee/issues/6
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/6/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/6/comments
https://api.github.com/repos/coleifer/peewee/issues/6/events
https://github.com/coleifer/peewee/pull/6
592,282
MDExOlB1bGxSZXF1ZXN0NzE1MDI=
6
psycopg2 should be optional
{ "login": "JshWright", "id": 69920, "node_id": "MDQ6VXNlcjY5OTIw", "avatar_url": "https://avatars.githubusercontent.com/u/69920?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JshWright", "html_url": "https://github.com/JshWright", "followers_url": "https://api.github.com/users/JshWright/...
[]
closed
false
null
[]
null
[ "This would be great. Ubuntu seemed to want Postgres installed in order to satisfy psycopg through pip. I'm currently just commenting out the import locally :(\n", "Issue fixed in https://github.com/coleifer/peewee/commit/5c5d6933e383748a99cdf5e092076a61884feebb\n\nThanks for reporting!!\n" ]
2011-02-11T16:55:25
2014-07-06T01:52:33
2011-02-12T01:50:41
CONTRIBUTOR
null
This is a pull request to address https://github.com/coleifer/peewee/issues/#issue/5
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/6/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/6/timeline
null
null
false
{ "url": "https://api.github.com/repos/coleifer/peewee/pulls/6", "html_url": "https://github.com/coleifer/peewee/pull/6", "diff_url": "https://github.com/coleifer/peewee/pull/6.diff", "patch_url": "https://github.com/coleifer/peewee/pull/6.patch", "merged_at": null }
https://api.github.com/repos/coleifer/peewee/issues/5
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/5/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/5/comments
https://api.github.com/repos/coleifer/peewee/issues/5/events
https://github.com/coleifer/peewee/issues/5
581,203
MDU6SXNzdWU1ODEyMDM=
5
Peewee shouldn't require multiple database libraries
{ "login": "JshWright", "id": 69920, "node_id": "MDQ6VXNlcjY5OTIw", "avatar_url": "https://avatars.githubusercontent.com/u/69920?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JshWright", "html_url": "https://github.com/JshWright", "followers_url": "https://api.github.com/users/JshWright/...
[]
closed
false
null
[]
null
[ "https://github.com/coleifer/peewee/commit/5c5d6933e383748a99cdf5e092076a61884feebb\n" ]
2011-02-07T18:47:56
2011-02-12T01:50:55
2011-02-12T01:50:55
CONTRIBUTOR
null
As of 0.3.1, peewee requires _both_ psycopg2 and sqlite3, even if you only intend to use one of them.
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/5/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/5/timeline
null
completed
null
null
https://api.github.com/repos/coleifer/peewee/issues/4
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/4/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/4/comments
https://api.github.com/repos/coleifer/peewee/issues/4/events
https://github.com/coleifer/peewee/pull/4
571,526
MDExOlB1bGxSZXF1ZXN0NjU5NjE=
4
MySQL Adapter
{ "login": "pplante", "id": 58743, "node_id": "MDQ6VXNlcjU4NzQz", "avatar_url": "https://avatars.githubusercontent.com/u/58743?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pplante", "html_url": "https://github.com/pplante", "followers_url": "https://api.github.com/users/pplante/follower...
[]
closed
false
null
[]
null
[ "I noticed some debug statements were left in, got them out. Squashed a few bugs I also introduced.\n", "i'm having a hard time telling what's new because you changed all my 4-space indentation two 2-space, which effectively shows every line as different.\n\nif i can have the changes in the minimum of patches i'...
2011-02-03T01:31:29
2014-07-06T01:52:35
2011-02-08T05:31:17
NONE
null
I added a MySQL Adapter to my fork using the new API. I made some other small changes to integrate the two source trees. Hopefully you can integrate this into the main library for others to enjoy.
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/4/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/4/timeline
null
null
false
{ "url": "https://api.github.com/repos/coleifer/peewee/pulls/4", "html_url": "https://github.com/coleifer/peewee/pull/4", "diff_url": "https://github.com/coleifer/peewee/pull/4.diff", "patch_url": "https://github.com/coleifer/peewee/pull/4.patch", "merged_at": null }
https://api.github.com/repos/coleifer/peewee/issues/3
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/3/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/3/comments
https://api.github.com/repos/coleifer/peewee/issues/3/events
https://github.com/coleifer/peewee/pull/3
541,965
MDExOlB1bGxSZXF1ZXN0NTg5NjQ=
3
A small change to allow extra keyword arguments to be passed to sqlite3.connect()
{ "login": "JshWright", "id": 69920, "node_id": "MDQ6VXNlcjY5OTIw", "avatar_url": "https://avatars.githubusercontent.com/u/69920?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JshWright", "html_url": "https://github.com/JshWright", "followers_url": "https://api.github.com/users/JshWright/...
[]
closed
false
null
[]
null
[ "I applied the keyword args change, thanks!\n", "The keyword args change uses the \"native\" ternary, so if your goal is to maintain Python 2.4 compatibility (which I assume is the reason for not pulling the other commit), you'll probably want to fix that.\n", "d'oh. you just couldn't use the old-fashioned one...
2011-01-21T17:36:02
2014-07-06T01:52:36
2011-01-22T04:35:30
CONTRIBUTOR
null
Thanks for a great little ORM. It does exactly what I need, without getting in the way. This pull request encompasses two small changes. The first is to use the Python 2.5 style ternary in place of the custom lambda. The second (and more important to me) change is to allow arbitrary keyword arguments to be passed to s...
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/3/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/3/timeline
null
null
false
{ "url": "https://api.github.com/repos/coleifer/peewee/pulls/3", "html_url": "https://github.com/coleifer/peewee/pull/3", "diff_url": "https://github.com/coleifer/peewee/pull/3.diff", "patch_url": "https://github.com/coleifer/peewee/pull/3.patch", "merged_at": null }
https://api.github.com/repos/coleifer/peewee/issues/2
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/2/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/2/comments
https://api.github.com/repos/coleifer/peewee/issues/2/events
https://github.com/coleifer/peewee/issues/2
470,133
MDU6SXNzdWU0NzAxMzM=
2
Any plan to support MySQL and PostgreSQL?
{ "login": "ghost", "id": 10137, "node_id": "MDQ6VXNlcjEwMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghost", "html_url": "https://github.com/ghost", "followers_url": "https://api.github.com/users/ghost/followers", "f...
[]
closed
false
null
[]
null
[ "Hmm...good question\n", "Added support for MySQL and have only one test failure which should be fixed soon.\n", "postgresql support added. all tests passing on sqlite, mysql and psql!\n" ]
2010-12-12T08:18:03
2011-07-18T02:50:56
2011-06-08T13:52:37
NONE
null
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/2/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/2/timeline
null
completed
null
null
https://api.github.com/repos/coleifer/peewee/issues/1
https://api.github.com/repos/coleifer/peewee
https://api.github.com/repos/coleifer/peewee/issues/1/labels{/name}
https://api.github.com/repos/coleifer/peewee/issues/1/comments
https://api.github.com/repos/coleifer/peewee/issues/1/events
https://github.com/coleifer/peewee/issues/1
450,127
MDU6SXNzdWU0NTAxMjc=
1
None/NULL don't work
{ "login": "wearpants", "id": 505344, "node_id": "MDQ6VXNlcjUwNTM0NA==", "avatar_url": "https://avatars.githubusercontent.com/u/505344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wearpants", "html_url": "https://github.com/wearpants", "followers_url": "https://api.github.com/users/wear...
[]
closed
false
null
[]
null
[ "Good point, this definitely looks like something that'll need fixing. Let me look into it.\n", "Fixed in https://github.com/coleifer/peewee/commit/466d6d7c41d4f888d6c3db5e7de55785b2c41940\n\nCheck the test case for examples.\n" ]
2010-12-01T18:13:36
2010-12-05T00:33:22
2010-12-05T00:33:22
NONE
null
Stuffing a None into any field returns a False value when retrieved. For example, setting a TextField to None returns '' (empty string), BooleanField returns False, etc.. Dunno if this intentional, (real NULL support would be nice, though IIRC django discourages it). If it is, this sentence in the docs is misleading...
{ "url": "https://api.github.com/repos/coleifer/peewee/issues/1/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/coleifer/peewee/issues/1/timeline
null
completed
null
null