peewee Documentation Release 2.10.2build_sqlite_ext -i Note On some systems you may need to use sudo python setup.py install to install peewee system-wide. Running tests You can test your installation by running the test suite. python setup.py 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 dates and times have special properties which allow access to things like the year, month, hour, etc. DateField has properties for: year month day TimeField has properties for: hour minute second DateTimeField0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2build_sqlite_ext -i Note: On some systems you may need to use sudo python setup.py install to install peewee system- wide. 1.1.2 Running tests You can test your installation by running the test suite. python setup 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 and times have special properties which allow access to things like the year, month, hour, etc. DateField has properties for: • year • month • day TimeField has properties for: • hour • minute0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation Release 3.0.0install Note On some systems you may need to use sudo python setup.py install to install peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the 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 )) PRAGMAs may also be configured dynamically using either the pragma() method or the special properties exposed on the SqliteDatabase object: # Set cache size to 64MB for current connection. db.pragma('cache_size'0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0install Note On some systems you may need to use sudo python setup.py install to install peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the 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 }) PRAGMAs may also be configured dynamically using either the pragma() method or the special properties exposed on the SqliteDatabase object: # Set cache size to 64MB for *current connection*. db.pragma('cache_size'0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0install Note On some systems you may need to use sudo python setup.py install to install peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the 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 )) PRAGMAs may also be configured dynamically using either the pragma() method or the special properties exposed on the SqliteDatabase object: # Set cache size to 64MB for current connection. db.pragma('cache_size'0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.1.0install Note On some systems you may need to use sudo python setup.py install to install peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the 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 )) PRAGMAs may also be configured dynamically using either the pragma() method or the special properties exposed on the SqliteDatabase object: # Set cache size to 64MB for current connection. db.pragma('cache_size'0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation
Release 3.5.0install Note: On some systems you may need to use sudo python setup.py install to install peewee system- wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build 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 }) PRAGMAs may also be configured dynamically using either the pragma() method or the special properties exposed on the SqliteDatabase object: # Set cache size to 64MB for *current connection*. db.pragma('cache_size'0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0install Note: On some systems you may need to use sudo python setup.py install to install peewee system- wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build 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 3.0 PRAGMAs may also be configured dynamically using either the pragma() method or the special properties exposed on the SqliteDatabase object: # Set cache size to 64MB for current connection. db.pragma('cache_size'0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0install Note: On some systems you may need to use sudo python setup.py install to install peewee system- wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build 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 )) PRAGMAs may also be configured dynamically using either the pragma() method or the special properties exposed on the SqliteDatabase object: # Set cache size to 64MB for current connection. db.pragma('cache_size'0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 3.6.0install Note On some systems you may need to use sudo python setup.py install to install peewee system-wide. If you would like to build the SQLite extension in a git checkout, you can run: # Build the 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 }) PRAGMAs may also be configured dynamically using either the pragma() method or the special properties exposed on the SqliteDatabase object: # Set cache size to 64MB for *current connection*. db.pragma('cache_size'0 码力 | 377 页 | 399.12 KB | 1 年前3
共 16 条
- 1
- 2













