 peewee Documentation Release 2.10.2supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents: Installing and Testing Installing with git Running tests Optional dependencies databases What next? Example app Running the example Diving into the code More examples Additional Resources Contributing Patches Bugs Questions Managing your Database Creating a database connection and Metadata Types Misc Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Note If you find any bugs, odd behavior, or have an idea for a new feature0 码力 | 275 页 | 276.96 KB | 1 年前3 peewee Documentation Release 2.10.2supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents: Installing and Testing Installing with git Running tests Optional dependencies databases What next? Example app Running the example Diving into the code More examples Additional Resources Contributing Patches Bugs Questions Managing your Database Creating a database connection and Metadata Types Misc Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Note If you find any bugs, odd behavior, or have an idea for a new feature0 码力 | 275 页 | 276.96 KB | 1 年前3
 peewee Documentation
Release 2.10.2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.4 Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.5 Contributing supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents 1 peewee Documentation, Release 2.10.2 2 Contents CHAPTER 1 Contents: django-like Admin interface, RESTful API, Authentication and more for your peewee models. 1.4 Additional Resources I’ve written a number of blog posts about building applications and web-services with peewee (and0 码力 | 221 页 | 844.06 KB | 1 年前3 peewee Documentation
Release 2.10.2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.4 Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.5 Contributing supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents 1 peewee Documentation, Release 2.10.2 2 Contents CHAPTER 1 Contents: django-like Admin interface, RESTful API, Authentication and more for your peewee models. 1.4 Additional Resources I’ve written a number of blog posts about building applications and web-services with peewee (and0 码力 | 221 页 | 844.06 KB | 1 年前3
 peewee Documentation
Release 3.5.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents: Installing and Testing Installing with git Running tests Optional dependencies Query Objects More Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Changes in 3.0 Backwards-incompatible New stuff Note If you find any bugs middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These0 码力 | 347 页 | 380.80 KB | 1 年前3 peewee Documentation
Release 3.5.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents: Installing and Testing Installing with git Running tests Optional dependencies Query Objects More Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Changes in 3.0 Backwards-incompatible New stuff Note If you find any bugs middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These0 码力 | 347 页 | 380.80 KB | 1 年前3
 peewee Documentation Release 3.4.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents: Installing and Testing Installing with git Running tests Optional dependencies Query Objects More Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Note If you find any bugs, odd behavior, or have an idea for a new feature middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These0 码力 | 349 页 | 382.34 KB | 1 年前3 peewee Documentation Release 3.4.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents: Installing and Testing Installing with git Running tests Optional dependencies Query Objects More Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Note If you find any bugs, odd behavior, or have an idea for a new feature middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These0 码力 | 349 页 | 382.34 KB | 1 年前3
 peewee Documentation
Release 3.5.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents 1 peewee Documentation, Release 3.5.0 2 Contents CHAPTER 1 Contents: middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These are field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. • Creating a custom field • Database, particularly the fields parameter. Field initialization0 码力 | 282 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.5.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents 1 peewee Documentation, Release 3.5.0 2 Contents CHAPTER 1 Contents: middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These are field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. • Creating a custom field • Database, particularly the fields parameter. Field initialization0 码力 | 282 页 | 1.02 MB | 1 年前3
 peewee Documentation
Release 3.4.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents 1 peewee Documentation, Release 3.4.0 2 Contents CHAPTER 1 Contents: middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These are field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. • Creating a custom field • Database, particularly the fields parameter. Field initialization0 码力 | 284 页 | 1.03 MB | 1 年前3 peewee Documentation
Release 3.4.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents 1 peewee Documentation, Release 3.4.0 2 Contents CHAPTER 1 Contents: middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These are field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. • Creating a custom field • Database, particularly the fields parameter. Field initialization0 码力 | 284 页 | 1.03 MB | 1 年前3
 peewee Documentation Release 3.1.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents: Installing and Testing Installing with git Running tests Optional dependencies Query Objects More Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Note If you find any bugs, odd behavior, or have an idea for a new feature middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These0 码力 | 332 页 | 370.77 KB | 1 年前3 peewee Documentation Release 3.1.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents: Installing and Testing Installing with git Running tests Optional dependencies Query Objects More Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Note If you find any bugs, odd behavior, or have an idea for a new feature middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These0 码力 | 332 页 | 370.77 KB | 1 年前3
 peewee Documentation
Release 3.3.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents 1 peewee Documentation, Release 3.3.0 2 Contents CHAPTER 1 Contents: middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These are field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. • Creating a custom field • Database, particularly the fields parameter. Field initialization0 码力 | 280 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.3.0supports and the parameters they accept. There is also an extension module that contains special/custom field types. Contents 1 peewee Documentation, Release 3.3.0 2 Contents CHAPTER 1 Contents: middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These are field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. • Creating a custom field • Database, particularly the fields parameter. Field initialization0 码力 | 280 页 | 1.02 MB | 1 年前3
 peewee Documentation Release 3.6.0Query Objects More Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Changes in 3.0 Backwards-incompatible New stuff Note If you find any bugs middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These the field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. Creating a custom field Database, particularly the fields parameter. Field initialization0 码力 | 377 页 | 399.12 KB | 1 年前3 peewee Documentation Release 3.6.0Query Objects More Hacks Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Changes in 3.0 Backwards-incompatible New stuff Note If you find any bugs middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These the field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. Creating a custom field Database, particularly the fields parameter. Field initialization0 码力 | 377 页 | 399.12 KB | 1 年前3
 peewee Documentation
Release 3.6.0middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These are field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. • Creating a custom field • Database, particularly the fields parameter. Field initialization Creating a custom field It is easy to add support for custom field types in peewee. In this example we will create a UUID field for postgresql (which has a native UUID column type). To add a custom field0 码力 | 302 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.6.0middleware gets executed, add it to your settings module: # settings.py MIDDLEWARE_CLASSES = ( # Our custom middleware appears first in the list. 'my_blog.middleware.PeeweeConnectionMiddleware', # These are field you’re looking for in the above table? It’s easy to create custom field types and use them with your models. • Creating a custom field • Database, particularly the fields parameter. Field initialization Creating a custom field It is easy to add support for custom field types in peewee. In this example we will create a UUID field for postgresql (which has a native UUID column type). To add a custom field0 码力 | 302 页 | 1.02 MB | 1 年前3
共 16 条
- 1
- 2














