1 |
commit: cdb7c2275d1f6238a2810ee31b27ea1634a56cca |
2 |
Author: Slava Bacherikov <slava <AT> bacher09 <DOT> org> |
3 |
AuthorDate: Sun May 27 22:36:20 2012 +0000 |
4 |
Commit: Slava Bacherikov <slava <AT> bacherikov <DOT> org <DOT> ua> |
5 |
CommitDate: Sun May 27 22:36:20 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-packages.git;a=commit;h=cdb7c227 |
7 |
|
8 |
Add command to manage.py |
9 |
|
10 |
--- |
11 |
.../packages/management/commands/scanpackages.py | 9 +++++++++ |
12 |
1 files changed, 9 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/gpackages/apps/packages/management/__init__.py b/gpackages/apps/packages/management/__init__.py |
15 |
new file mode 100644 |
16 |
index 0000000..e69de29 |
17 |
|
18 |
diff --git a/gpackages/apps/packages/management/commands/__init__.py b/gpackages/apps/packages/management/commands/__init__.py |
19 |
new file mode 100644 |
20 |
index 0000000..e69de29 |
21 |
|
22 |
diff --git a/gpackages/apps/packages/management/commands/scanpackages.py b/gpackages/apps/packages/management/commands/scanpackages.py |
23 |
new file mode 100644 |
24 |
index 0000000..4bad968 |
25 |
--- /dev/null |
26 |
+++ b/gpackages/apps/packages/management/commands/scanpackages.py |
27 |
@@ -0,0 +1,9 @@ |
28 |
+from django.core.management.base import BaseCommand, CommandError |
29 |
+ |
30 |
+ |
31 |
+class Command(BaseCommand): |
32 |
+ args = '' |
33 |
+ help = 'Will scan package tree and update info about it in database' |
34 |
+ |
35 |
+ def handle(self, *args, **options): |
36 |
+ print("Not implement yet") |