zvibaratz / django_smb Goto Github PK
View Code? Open in Web Editor NEWA simple django package for importing files from a Windows Share (SMB connection).
License: MIT License
A simple django package for importing files from a Windows Share (SMB connection).
License: MIT License
File "/Users/koala/mysite/lib/python2.7/site-packages/django_smb/models/remote_path.py", line 30
def to_dict(self, lazy=True) -> dict:
^
SyntaxError: invalid syntax
Basic functionality has been achieved (connecting to a remote SMB location and tracking directories and files), but the code needs some pretty extensive review and refactoring.
~/mysmb » python manage.py migrate koala@koaladeMacBook-Pro
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/Users/koala/mysite/lib/python2.7/site-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/Users/koala/mysite/lib/python2.7/site-packages/django/core/management/init.py", line 338, in execute
django.setup()
File "/Users/koala/mysite/lib/python2.7/site-packages/django/init.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Users/koala/mysite/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/Users/koala/mysite/lib/python2.7/site-packages/django/apps/config.py", line 94, in create
module = import_module(entry)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named django_smb
Using the URLconf defined in mysmb.urls, Django tried these URL patterns, in this order:
^admin/
smb/
The current path, smb, didn't match any of these.
~/mysmb » python manage.py migrate koala@koaladeMacBook-Pro
Operations to perform:
Apply all migrations: admin, auth, contenttypes, django_smb, sessions
Running migrations:
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying django_smb.0001_initial... OK
Applying django_smb.0002_auto_20181126_1125... OK
Applying django_smb.0003_auto_20181126_1224... OK
Applying django_smb.0004_auto_20181126_1435... OK
Applying django_smb.0005_remotepath_is_imported... OK
which ide run your django_smb
Figure out the best way to store an SMB connection password safely and implement.
Writing tests for the app.
Write basic documentation and examples.
django_mptt is too slow for the frequency and magnitude of writes in tracking remote location DCM files. django_treebeard should be used with materialized path or an adjacency list.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.