mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Forgot to add the examples folder
This commit is contained in:
5
test/examples/README.rst
Normal file
5
test/examples/README.rst
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Examples
|
||||||
|
========
|
||||||
|
|
||||||
|
Here you can find project structures that match other Python projects. This is
|
||||||
|
then used to check if jedi understands these structures.
|
||||||
0
test/examples/django/app/__init__.py
Normal file
0
test/examples/django/app/__init__.py
Normal file
1
test/examples/django/app/models.py
Normal file
1
test/examples/django/app/models.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
SomeModel = "bar"
|
||||||
10
test/examples/django/manage.py
Normal file
10
test/examples/django/manage.py
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "foobar.settings")
|
||||||
|
|
||||||
|
from django.core.management import execute_from_command_line
|
||||||
|
|
||||||
|
execute_from_command_line(sys.argv)
|
||||||
Reference in New Issue
Block a user