peewee Documentation Release 2.10.2module should be built using the build_sqlite_ext command. Note If you have Cython installed, then the speedups module will automatically be built. If you wish to also build the SQLite Cython extension, you must manually run: python setup.py build_sqlite_ext python setup.py install Installing with git The project is hosted at https://github.com/coleifer/peewee and can be installed using git: git you would like to build the SQLite extension in a git checkout, you can run: # Build the sqlite extension and place the shared library alongside the other modules. python setup.py build_sqlite_ext -i Note0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2module should be built using the build_sqlite_ext command. Note: If you have Cython installed, then the speedups module will automatically be built. If you wish to also build the SQLite Cython extension, you must manually run: python setup.py build_sqlite_ext python setup.py install 1.1.1 Installing with git The project is hosted at https://github.com/coleifer/peewee and can be installed using git: python setup.py install If you would like to build the SQLite extension in a git checkout, you can run: 3 peewee Documentation, Release 2.10.2 # Build the sqlite extension and place the shared library0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation
Release 3.5.0peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build Quickstart This document presents a brief, high-level overview of Peewee’s primary features. This paginate(kwargs['page']) return render_template(template_name, **kwargs) Simple authentication system with a login_required decorator. The first function simply adds user data into the current session0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build Quickstart This document presents a brief, high-level overview of Peewee’s primary features. This paginate(kwargs['page']) return render_template(template_name, **kwargs) Simple authentication system with a login_required decorator. The first function simply adds user data into the current session0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation
Release 3.5.0peewee system- wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document presents a brief, high-level overview of Peewee’s primary features paginate(kwargs['page']) return render_template(template_name, **kwargs) • Simple authentication system with a login_required decorator. The first function simply adds user data into the current session0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0peewee system- wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document presents a brief, high-level overview of Peewee’s primary features paginate(kwargs['page']) return render_template(template_name, **kwargs) • Simple authentication system with a login_required decorator. The first function simply adds user data into the current session0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0peewee system- wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document presents a brief, high-level overview of Peewee’s primary features paginate(kwargs['page']) return render_template(template_name, **kwargs) • Simple authentication system with a login_required decorator. The first function simply adds user data into the current session0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 3.0.0peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext paginate(kwargs['page']) return render_template(template_name, **kwargs) Simple authentication system with a login_required decorator. The first function simply adds user data into the current session primary key will automatically be retrieved and stored on the model instance. Alternatively, you can build up a model instance programmatically and then call save(): >>> user = User(username='Charlie') >>>0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation Release 3.1.0peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext paginate(kwargs['page']) return render_template(template_name, **kwargs) Simple authentication system with a login_required decorator. The first function simply adds user data into the current session "6" 6 >>> p.is_favorite False >>> p.is_sticky True We can also use the flags on the Post class to build expressions in queries: # Generates a WHERE clause that looks like: # WHERE (post.flags & 1 != 0)0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation Release 3.6.0peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the C extension and place shared libraries alongside other modules. python setup.py build_ext SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build Quickstart This document presents a brief, high-level overview of Peewee’s primary features. This paginate(kwargs['page']) return render_template(template_name, **kwargs) Simple authentication system with a login_required decorator. The first function simply adds user data into the current session0 码力 | 377 页 | 399.12 KB | 1 年前3
共 16 条
- 1
- 2













