GithubHelp home page GithubHelp logo

django_smb's Issues

def to_dict(self, lazy=True) -> dict:

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

Review and refactor current code

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.

ImportError: No module named django_smb

~/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

how use 'http://127.0.0.1:8080/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.

what then? how use

~/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

Testing

Writing tests for the app.

Switch to django_treebeard

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.