mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #249 from SchrodingersGat/make-backup
Add makefile option for quick backup
This commit is contained in:
commit
8477dfbab6
@ -61,6 +61,7 @@ urlpatterns = [
|
||||
|
||||
url(r'^login/', auth_views.LoginView.as_view(), name='login'),
|
||||
url(r'^logout/', auth_views.LogoutView.as_view(template_name='registration/logout.html'), name='logout'),
|
||||
|
||||
url(r'^admin/', admin.site.urls, name='inventree-admin'),
|
||||
|
||||
url(r'^qr_code/', include(qr_code_urls, namespace='qr_code')),
|
||||
|
@ -23,7 +23,6 @@ class EditCompanyForm(HelperForm):
|
||||
'phone',
|
||||
'email',
|
||||
'contact',
|
||||
'image',
|
||||
'is_customer',
|
||||
'is_supplier',
|
||||
'notes'
|
||||
|
3
Makefile
3
Makefile
@ -38,3 +38,6 @@ documentation:
|
||||
pip install -U -r docs/requirements.txt
|
||||
cd docs & make html
|
||||
|
||||
backup:
|
||||
python InvenTree/manage.py dbbackup
|
||||
python InvenTree/manage.py mediabackup
|
@ -9,4 +9,6 @@ Backup and Restore
|
||||
|
||||
InvenTree provides database backup and restore functionality through the `django-dbbackup <https://github.com/django-dbbackup/django-dbbackup>`_ extension.
|
||||
|
||||
This extension allows databas models and uploaded media files to be backed up (and restored) via the command line.
|
||||
This extension allows database models and uploaded media files to be backed up (and restored) via the command line.
|
||||
|
||||
In the root InvenTre directory, run ``make backup`` to generate backup files for the database models and media files.
|
Loading…
Reference in New Issue
Block a user