Python AdminUI
auth_needed (str, optional) – the permission needed for user to access this page. e.g. ‘user’or ‘admin’ • children (list, optional) – 如果菜单具有子菜单,则设置此选项。默认值为 [] 您可以嵌套”菜单”以创建子菜单。下面是一个完整的示例: app.set_menu( Item', '/new', icon="plus"), MenuItem('Search for Item', '/search', icon="search"), MenuItem('Admin', '/admin', icon="setting") ]), MenuItem('About', '/about', icon="info-circle") ] ) 它看起来像这样: 22 Chapter You may also use auth_needed=’admin’, then a user logged in with: LoggedInUser("Alice", auth=['user', 'admin']) May access this page, since the user Alice has ‘admin’authority. 10.2 Menus for different0 码力 | 67 页 | 653.37 KB | 1 年前3Django CMS 4.1.x Documentation
email address and set a username and password. Open your browser and insert http://localhost:8000/admin there you should be invited to login and continue with Step 3: create your first page Create your performs the following five steps in one simple go: 1. It creates a new Django project: If django-admin startproject is new to you, you ought to read the official Django tutorial [https://docs.djangoproject it pip install --upgrade pip # Upgrade pip pip install django-cms djangocms myproject django-admin startproject myproject --template https://github.com/django-cms/cms-template/archive/4.1.tar.gz0 码力 | 518 页 | 1.66 MB | 6 月前3django cms 4.1.1 Documentation
email address and set a username and password. Open your browser and insert http://localhost:8000/admin there you should be invited to login and continue with Step 3: create your first page 5.2. Django/Python It creates a new Django project: django-admin startproject myproject --template https://github.com/django-cms/cms- ˓→template/archive/4.1.tar.gz If django-admin startproject is new to you, you ought to for managing common content parts such as footers. • djangocms_admin_style for a consistent user experience with django CMS and Django admin. 3. It changes into the project directory and runs the migrate0 码力 | 361 页 | 2.00 MB | 1 年前3django cms 4.1.x Documentation
email address and set a username and password. Open your browser and insert http://localhost:8000/admin there you should be invited to login and continue with Step 3: create your first page 5.2. Django/Python It creates a new Django project: django-admin startproject myproject --template https://github.com/django-cms/cms- ˓→template/archive/4.1.tar.gz If django-admin startproject is new to you, you ought to for managing common content parts such as footers. • djangocms_admin_style for a consistent user experience with django CMS and Django admin. 3. It changes into the project directory and runs the migrate0 码力 | 357 页 | 1.99 MB | 1 年前3Django 1.8.x Documentation
contents Getting started Django at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design part 2 Creating an admin user Start the development server Enter the admin site Make the poll app modifiable in the admin Explore the free admin functionality Customize the admin form Adding related objects objects Customize the admin change list Customize the admin look and feel Customize the admin index page Writing your first Django app, part 3 Philosophy Write your first view Writing more views Write0 码力 | 2454 页 | 2.85 MB | 1 年前3Django 2.2.x Documentation
contents Getting started Django at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your first Django app, part 3 Overview Writing more views Write views that actually do something first Django app, part 7 Customize the admin form Adding related objects Customize the admin change list Customize the admin look and feel Customize the admin index page What’s next? Advanced tutorial:0 码力 | 2915 页 | 2.83 MB | 1 年前3Django 1.8.x Documentation
process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.8 The admin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511 4.2 Writing custom django-admin commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512 4.3 Writing custom model models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603 5.6 FAQ: The admin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605 5.70 码力 | 1685 页 | 6.01 MB | 1 年前3Django CMS 3.11.10 Documentation
email address and set a username and password. Open your browser and insert http://localhost:8000/admin there you should be invited to login and continue with Step 3: create your first page Create your performs the following five steps in one simple go: 1. It creates a new Django project: If django-admin startproject is new to you, you ought to read the official Django tutorial [https://docs.djangoproject content parts such as footers. djangocms_admin_style [https://github.com/django-cms/djangocms-admin-style] for a consistent user experience with django CMS and Django admin. 3. It changes into the project directory0 码力 | 493 页 | 1.44 MB | 6 月前0.03Django 2.1.x Documentation
contents Getting started Django at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your first Django app, part 3 Overview Writing more views Write views that actually do something first Django app, part 7 Customize the admin form Adding related objects Customize the admin change list Customize the admin look and feel Customize the admin index page What’s next? Advanced tutorial:0 码力 | 2790 页 | 2.71 MB | 1 年前3Django 4.2.x Documentation
contents Getting started Django at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your URLs Write your views Design part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your first Django app, part 3 Overview Writing more views Write views that actually do something first Django app, part 7 Customize the admin form Adding related objects Customize the admin change list Customize the admin look and feel Customize the admin index page Writing your first Django app0 码力 | 3305 页 | 3.16 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100