micro-sidebar 1.0.0__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- micro_sidebar-1.0.2/PKG-INFO +111 -0
- micro_sidebar-1.0.2/README.md +83 -0
- micro_sidebar-1.0.2/micro_sidebar.egg-info/PKG-INFO +111 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/pyproject.toml +1 -1
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/setup.py +1 -1
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/sidebar/static/sidebar/js/sidebar.js +9 -2
- micro_sidebar-1.0.0/PKG-INFO +0 -40
- micro_sidebar-1.0.0/README.md +0 -12
- micro_sidebar-1.0.0/micro_sidebar.egg-info/PKG-INFO +0 -40
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/MANIFEST.in +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/micro_sidebar.egg-info/SOURCES.txt +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/micro_sidebar.egg-info/dependency_links.txt +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/micro_sidebar.egg-info/requires.txt +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/micro_sidebar.egg-info/top_level.txt +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/setup.cfg +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/sidebar/__init__.py +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/sidebar/apps.py +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/sidebar/migrations/__init__.py +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/sidebar/static/sidebar/style.css +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/sidebar/templates/sidebar/content.html +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/sidebar/urls.py +0 -0
- {micro_sidebar-1.0.0 → micro_sidebar-1.0.2}/sidebar/views.py +0 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: micro_sidebar
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: A reusable Django sidebar for Web Apps
|
|
5
|
+
Home-page: https://github.com/debeski/micro-sidebar
|
|
6
|
+
Author: DeBeski
|
|
7
|
+
Author-email: DeBeski <debeski1@gmail.com>
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Homepage, https://github.com/debeski/micro-sidebar
|
|
10
|
+
Classifier: Framework :: Django
|
|
11
|
+
Classifier: Framework :: Django :: 5
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
21
|
+
Classifier: Operating System :: OS Independent
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
Requires-Dist: Django>=5.1
|
|
25
|
+
Dynamic: author
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
|
|
29
|
+
# Micro Sidebar
|
|
30
|
+
|
|
31
|
+
A reusable RTL Django sidebar app for Web Apps.
|
|
32
|
+
|
|
33
|
+
## Requirements
|
|
34
|
+
|
|
35
|
+
- **Django**: >= 5.1
|
|
36
|
+
- **Bootstrap**: 5 (Required for consistent styling)
|
|
37
|
+
|
|
38
|
+
## Installation
|
|
39
|
+
|
|
40
|
+
1. **Install the package:**
|
|
41
|
+
```bash
|
|
42
|
+
pip install micro-sidebar
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
2. **Add to `INSTALLED_APPS`:**
|
|
46
|
+
In your `settings.py`:
|
|
47
|
+
```python
|
|
48
|
+
INSTALLED_APPS = [
|
|
49
|
+
...
|
|
50
|
+
'sidebar',
|
|
51
|
+
...
|
|
52
|
+
]
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
3. **Configure URLs:**
|
|
56
|
+
In your project's `urls.py`:
|
|
57
|
+
```python
|
|
58
|
+
from django.urls import path, include
|
|
59
|
+
|
|
60
|
+
urlpatterns = [
|
|
61
|
+
...
|
|
62
|
+
path('sidebar/', include('sidebar.urls')),
|
|
63
|
+
...
|
|
64
|
+
]
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
4. **Add to your Base Template:**
|
|
68
|
+
In your `base.html` (or equivalent), include the sidebar. It is designed to sit to the right of your main content.
|
|
69
|
+
|
|
70
|
+
Example structure using Flexbox:
|
|
71
|
+
```html
|
|
72
|
+
<body>
|
|
73
|
+
<div class="d-flex">
|
|
74
|
+
<!-- Sidebar -->
|
|
75
|
+
{% include "sidebar/content.html" %}
|
|
76
|
+
|
|
77
|
+
<!-- Main Content -->
|
|
78
|
+
<div class="flex-grow-1">
|
|
79
|
+
{% block content %}{% endblock %}
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<!-- Bootstrap JS (Required) -->
|
|
84
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
85
|
+
</body>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Customization
|
|
89
|
+
|
|
90
|
+
### Overriding Content
|
|
91
|
+
The sidebar comes with a default template. To customize the links and content, create a file named `content.html` inside `templates/sidebar/` in your project's `templates` directory.
|
|
92
|
+
|
|
93
|
+
**Path:** `your_project/templates/sidebar/content.html`
|
|
94
|
+
|
|
95
|
+
The default sidebar logic expects specific classes like `.list-group-item` and `.accordion-item` for the collapsible features to work correctly with the provided JS.
|
|
96
|
+
|
|
97
|
+
### Positioning
|
|
98
|
+
The sidebar is sticky by default. If your app has a top navigation bar (titlebar), the sidebar will automatically adjust its position below it on small screens. If no titlebar is detected, it will stick to the top of the viewport.
|
|
99
|
+
|
|
100
|
+
## RTL / LTR Support
|
|
101
|
+
This sidebar is primarily designed for **RTL (Right-to-Left)** interfaces (e.g., Arabic).
|
|
102
|
+
While it may theoretically work in LTR environments if standard Bootstrap files are used instead of RTL versions, this has **not been fully tested**.
|
|
103
|
+
> *Future updates are planned to support dynamic language switching between RTL and LTR.*
|
|
104
|
+
|
|
105
|
+
## Version History
|
|
106
|
+
|
|
107
|
+
| Version | Changes |
|
|
108
|
+
| :--- | :--- |
|
|
109
|
+
| **v1.0.0** | Initial Release. |
|
|
110
|
+
| **v1.0.1** | Fixed titlebar positioning bug causing overlap/gaps. |
|
|
111
|
+
| **v1.0.2** | Improved documentation clarity and added usage instructions. |
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Micro Sidebar
|
|
2
|
+
|
|
3
|
+
A reusable RTL Django sidebar app for Web Apps.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- **Django**: >= 5.1
|
|
8
|
+
- **Bootstrap**: 5 (Required for consistent styling)
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
1. **Install the package:**
|
|
13
|
+
```bash
|
|
14
|
+
pip install micro-sidebar
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
2. **Add to `INSTALLED_APPS`:**
|
|
18
|
+
In your `settings.py`:
|
|
19
|
+
```python
|
|
20
|
+
INSTALLED_APPS = [
|
|
21
|
+
...
|
|
22
|
+
'sidebar',
|
|
23
|
+
...
|
|
24
|
+
]
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
3. **Configure URLs:**
|
|
28
|
+
In your project's `urls.py`:
|
|
29
|
+
```python
|
|
30
|
+
from django.urls import path, include
|
|
31
|
+
|
|
32
|
+
urlpatterns = [
|
|
33
|
+
...
|
|
34
|
+
path('sidebar/', include('sidebar.urls')),
|
|
35
|
+
...
|
|
36
|
+
]
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
4. **Add to your Base Template:**
|
|
40
|
+
In your `base.html` (or equivalent), include the sidebar. It is designed to sit to the right of your main content.
|
|
41
|
+
|
|
42
|
+
Example structure using Flexbox:
|
|
43
|
+
```html
|
|
44
|
+
<body>
|
|
45
|
+
<div class="d-flex">
|
|
46
|
+
<!-- Sidebar -->
|
|
47
|
+
{% include "sidebar/content.html" %}
|
|
48
|
+
|
|
49
|
+
<!-- Main Content -->
|
|
50
|
+
<div class="flex-grow-1">
|
|
51
|
+
{% block content %}{% endblock %}
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<!-- Bootstrap JS (Required) -->
|
|
56
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
57
|
+
</body>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Customization
|
|
61
|
+
|
|
62
|
+
### Overriding Content
|
|
63
|
+
The sidebar comes with a default template. To customize the links and content, create a file named `content.html` inside `templates/sidebar/` in your project's `templates` directory.
|
|
64
|
+
|
|
65
|
+
**Path:** `your_project/templates/sidebar/content.html`
|
|
66
|
+
|
|
67
|
+
The default sidebar logic expects specific classes like `.list-group-item` and `.accordion-item` for the collapsible features to work correctly with the provided JS.
|
|
68
|
+
|
|
69
|
+
### Positioning
|
|
70
|
+
The sidebar is sticky by default. If your app has a top navigation bar (titlebar), the sidebar will automatically adjust its position below it on small screens. If no titlebar is detected, it will stick to the top of the viewport.
|
|
71
|
+
|
|
72
|
+
## RTL / LTR Support
|
|
73
|
+
This sidebar is primarily designed for **RTL (Right-to-Left)** interfaces (e.g., Arabic).
|
|
74
|
+
While it may theoretically work in LTR environments if standard Bootstrap files are used instead of RTL versions, this has **not been fully tested**.
|
|
75
|
+
> *Future updates are planned to support dynamic language switching between RTL and LTR.*
|
|
76
|
+
|
|
77
|
+
## Version History
|
|
78
|
+
|
|
79
|
+
| Version | Changes |
|
|
80
|
+
| :--- | :--- |
|
|
81
|
+
| **v1.0.0** | Initial Release. |
|
|
82
|
+
| **v1.0.1** | Fixed titlebar positioning bug causing overlap/gaps. |
|
|
83
|
+
| **v1.0.2** | Improved documentation clarity and added usage instructions. |
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: micro_sidebar
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: A reusable Django sidebar for Web Apps
|
|
5
|
+
Home-page: https://github.com/debeski/micro-sidebar
|
|
6
|
+
Author: DeBeski
|
|
7
|
+
Author-email: DeBeski <debeski1@gmail.com>
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Homepage, https://github.com/debeski/micro-sidebar
|
|
10
|
+
Classifier: Framework :: Django
|
|
11
|
+
Classifier: Framework :: Django :: 5
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
21
|
+
Classifier: Operating System :: OS Independent
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
Requires-Dist: Django>=5.1
|
|
25
|
+
Dynamic: author
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
|
|
29
|
+
# Micro Sidebar
|
|
30
|
+
|
|
31
|
+
A reusable RTL Django sidebar app for Web Apps.
|
|
32
|
+
|
|
33
|
+
## Requirements
|
|
34
|
+
|
|
35
|
+
- **Django**: >= 5.1
|
|
36
|
+
- **Bootstrap**: 5 (Required for consistent styling)
|
|
37
|
+
|
|
38
|
+
## Installation
|
|
39
|
+
|
|
40
|
+
1. **Install the package:**
|
|
41
|
+
```bash
|
|
42
|
+
pip install micro-sidebar
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
2. **Add to `INSTALLED_APPS`:**
|
|
46
|
+
In your `settings.py`:
|
|
47
|
+
```python
|
|
48
|
+
INSTALLED_APPS = [
|
|
49
|
+
...
|
|
50
|
+
'sidebar',
|
|
51
|
+
...
|
|
52
|
+
]
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
3. **Configure URLs:**
|
|
56
|
+
In your project's `urls.py`:
|
|
57
|
+
```python
|
|
58
|
+
from django.urls import path, include
|
|
59
|
+
|
|
60
|
+
urlpatterns = [
|
|
61
|
+
...
|
|
62
|
+
path('sidebar/', include('sidebar.urls')),
|
|
63
|
+
...
|
|
64
|
+
]
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
4. **Add to your Base Template:**
|
|
68
|
+
In your `base.html` (or equivalent), include the sidebar. It is designed to sit to the right of your main content.
|
|
69
|
+
|
|
70
|
+
Example structure using Flexbox:
|
|
71
|
+
```html
|
|
72
|
+
<body>
|
|
73
|
+
<div class="d-flex">
|
|
74
|
+
<!-- Sidebar -->
|
|
75
|
+
{% include "sidebar/content.html" %}
|
|
76
|
+
|
|
77
|
+
<!-- Main Content -->
|
|
78
|
+
<div class="flex-grow-1">
|
|
79
|
+
{% block content %}{% endblock %}
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<!-- Bootstrap JS (Required) -->
|
|
84
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
85
|
+
</body>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Customization
|
|
89
|
+
|
|
90
|
+
### Overriding Content
|
|
91
|
+
The sidebar comes with a default template. To customize the links and content, create a file named `content.html` inside `templates/sidebar/` in your project's `templates` directory.
|
|
92
|
+
|
|
93
|
+
**Path:** `your_project/templates/sidebar/content.html`
|
|
94
|
+
|
|
95
|
+
The default sidebar logic expects specific classes like `.list-group-item` and `.accordion-item` for the collapsible features to work correctly with the provided JS.
|
|
96
|
+
|
|
97
|
+
### Positioning
|
|
98
|
+
The sidebar is sticky by default. If your app has a top navigation bar (titlebar), the sidebar will automatically adjust its position below it on small screens. If no titlebar is detected, it will stick to the top of the viewport.
|
|
99
|
+
|
|
100
|
+
## RTL / LTR Support
|
|
101
|
+
This sidebar is primarily designed for **RTL (Right-to-Left)** interfaces (e.g., Arabic).
|
|
102
|
+
While it may theoretically work in LTR environments if standard Bootstrap files are used instead of RTL versions, this has **not been fully tested**.
|
|
103
|
+
> *Future updates are planned to support dynamic language switching between RTL and LTR.*
|
|
104
|
+
|
|
105
|
+
## Version History
|
|
106
|
+
|
|
107
|
+
| Version | Changes |
|
|
108
|
+
| :--- | :--- |
|
|
109
|
+
| **v1.0.0** | Initial Release. |
|
|
110
|
+
| **v1.0.1** | Fixed titlebar positioning bug causing overlap/gaps. |
|
|
111
|
+
| **v1.0.2** | Improved documentation clarity and added usage instructions. |
|
|
@@ -30,8 +30,15 @@ document.addEventListener("DOMContentLoaded", function () {
|
|
|
30
30
|
initializeTooltips();
|
|
31
31
|
|
|
32
32
|
// Dynamic positioning to anchor to titlebar
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
// Dynamic positioning to anchor to titlebar
|
|
34
|
+
if (titlebarHeight > 0) {
|
|
35
|
+
sidebar.style.top = titlebarHeight + 'px';
|
|
36
|
+
sidebar.style.height = (window.innerHeight - titlebarHeight) + 'px';
|
|
37
|
+
} else {
|
|
38
|
+
// Failsafe: Stick to top if no titlebar
|
|
39
|
+
sidebar.style.top = '0px';
|
|
40
|
+
sidebar.style.height = '100vh';
|
|
41
|
+
}
|
|
35
42
|
} else {
|
|
36
43
|
// Reset styles for large screens to let CSS take over (sticky)
|
|
37
44
|
sidebar.style.top = '';
|
micro_sidebar-1.0.0/PKG-INFO
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: micro_sidebar
|
|
3
|
-
Version: 1.0.0
|
|
4
|
-
Summary: A reusable Django sidebar for Web Apps
|
|
5
|
-
Home-page: https://github.com/debeski/micro-sidebar
|
|
6
|
-
Author: DeBeski
|
|
7
|
-
Author-email: DeBeski <debeski1@gmail.com>
|
|
8
|
-
License: MIT
|
|
9
|
-
Project-URL: Homepage, https://github.com/debeski/micro-sidebar
|
|
10
|
-
Classifier: Framework :: Django
|
|
11
|
-
Classifier: Framework :: Django :: 5
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
21
|
-
Classifier: Operating System :: OS Independent
|
|
22
|
-
Requires-Python: >=3.9
|
|
23
|
-
Description-Content-Type: text/markdown
|
|
24
|
-
Requires-Dist: Django>=5.1
|
|
25
|
-
Dynamic: author
|
|
26
|
-
Dynamic: home-page
|
|
27
|
-
Dynamic: requires-python
|
|
28
|
-
|
|
29
|
-
# Micro Sidebar
|
|
30
|
-
|
|
31
|
-
A reusable Django sidebar app.
|
|
32
|
-
|
|
33
|
-
## Installation
|
|
34
|
-
|
|
35
|
-
1. Add `sidebar` to your `INSTALLED_APPS` setting.
|
|
36
|
-
2. Include the URLconf in your project urls.py:
|
|
37
|
-
```python
|
|
38
|
-
path('sidebar/', include('sidebar.urls')),
|
|
39
|
-
```
|
|
40
|
-
3. Override the content by creating `templates/sidebar/content.html` in your project. See `sidebar/templates/sidebar/example_content.html` for a starting point.
|
micro_sidebar-1.0.0/README.md
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# Micro Sidebar
|
|
2
|
-
|
|
3
|
-
A reusable Django sidebar app.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
1. Add `sidebar` to your `INSTALLED_APPS` setting.
|
|
8
|
-
2. Include the URLconf in your project urls.py:
|
|
9
|
-
```python
|
|
10
|
-
path('sidebar/', include('sidebar.urls')),
|
|
11
|
-
```
|
|
12
|
-
3. Override the content by creating `templates/sidebar/content.html` in your project. See `sidebar/templates/sidebar/example_content.html` for a starting point.
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: micro_sidebar
|
|
3
|
-
Version: 1.0.0
|
|
4
|
-
Summary: A reusable Django sidebar for Web Apps
|
|
5
|
-
Home-page: https://github.com/debeski/micro-sidebar
|
|
6
|
-
Author: DeBeski
|
|
7
|
-
Author-email: DeBeski <debeski1@gmail.com>
|
|
8
|
-
License: MIT
|
|
9
|
-
Project-URL: Homepage, https://github.com/debeski/micro-sidebar
|
|
10
|
-
Classifier: Framework :: Django
|
|
11
|
-
Classifier: Framework :: Django :: 5
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
21
|
-
Classifier: Operating System :: OS Independent
|
|
22
|
-
Requires-Python: >=3.9
|
|
23
|
-
Description-Content-Type: text/markdown
|
|
24
|
-
Requires-Dist: Django>=5.1
|
|
25
|
-
Dynamic: author
|
|
26
|
-
Dynamic: home-page
|
|
27
|
-
Dynamic: requires-python
|
|
28
|
-
|
|
29
|
-
# Micro Sidebar
|
|
30
|
-
|
|
31
|
-
A reusable Django sidebar app.
|
|
32
|
-
|
|
33
|
-
## Installation
|
|
34
|
-
|
|
35
|
-
1. Add `sidebar` to your `INSTALLED_APPS` setting.
|
|
36
|
-
2. Include the URLconf in your project urls.py:
|
|
37
|
-
```python
|
|
38
|
-
path('sidebar/', include('sidebar.urls')),
|
|
39
|
-
```
|
|
40
|
-
3. Override the content by creating `templates/sidebar/content.html` in your project. See `sidebar/templates/sidebar/example_content.html` for a starting point.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|