Re: Failing to Run AutodetectorTests Using runtest.py (25253)
When I try to run the whole test suite it works fine, it's just that when I try to run this specific one it's failing on me. On Sunday, October 8, 2017 at 1:35:33 PM UTC-7, Shun Yu wrote: > > I'm trying to run the "migrations.test_autodetector.AutodetectorTests" for > django, but I can't seem to get it to work. > I'm using Windows 10 and Python 3.6.2. > Below is the output I'm getting, thanks for the help! > > C:\Users\Shun\.virtualenvs\django-original-test\Scripts\python.exe > C:/Users/Shun/Desktop/django/django/tests/runtests.py > --settings=test_sqlite tests.migrations.test_autodetector.AutodetectorTests > Testing against Django installed in > 'c:\users\shun\desktop\django\django\django' > Traceback (most recent call last): > File "C:/Users/Shun/Desktop/django/django/tests/runtests.py", line 478, > in > options.exclude_tags, > File "C:/Users/Shun/Desktop/django/django/tests/runtests.py", line 282, > in django_tests > extra_tests=extra_tests, > File "c:\users\shun\desktop\django\django\django\test\runner.py", line > 598, in run_tests > suite = self.build_suite(test_labels, extra_tests) > File "c:\users\shun\desktop\django\django\django\test\runner.py", line > 484, in build_suite > tests = self.test_loader.loadTestsFromName(label) > File > "c:\users\shun\appdata\local\programs\python\python36\Lib\unittest\loader.py", > > line 153, in loadTestsFromName > module = __import__(module_name) > File > "c:\users\shun\desktop\django\django\tests\migrations\test_autodetector.py", > line 18, in > from .models import FoodManager, FoodQuerySet > File "c:\users\shun\desktop\django\django\tests\migrations\models.py", > line 9, in > class ModelWithCustomBase(models.Model, metaclass=CustomModelBase): > File "c:\users\shun\desktop\django\django\django\db\models\base.py", > line 108, in __new__ > "INSTALLED_APPS." % (module, name) > RuntimeError: Model class tests.migrations.models.ModelWithCustomBase > doesn't declare an explicit app_label and isn't in an application in > INSTALLED_APPS. > > Process finished with exit code 1 > > > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c09e966f-70cb-4d2e-a305-43bb64fa3c02%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Failing to Run AutodetectorTests Using runtest.py (25253)
I'm trying to run the "migrations.test_autodetector.AutodetectorTests" for django, but I can't seem to get it to work. I'm using Windows 10 and Python 3.6.2. Below is the output I'm getting, thanks for the help! C:\Users\Shun\.virtualenvs\django-original-test\Scripts\python.exe C:/Users/Shun/Desktop/django/django/tests/runtests.py --settings=test_sqlite tests.migrations.test_autodetector.AutodetectorTests Testing against Django installed in 'c:\users\shun\desktop\django\django\django' Traceback (most recent call last): File "C:/Users/Shun/Desktop/django/django/tests/runtests.py", line 478, in options.exclude_tags, File "C:/Users/Shun/Desktop/django/django/tests/runtests.py", line 282, in django_tests extra_tests=extra_tests, File "c:\users\shun\desktop\django\django\django\test\runner.py", line 598, in run_tests suite = self.build_suite(test_labels, extra_tests) File "c:\users\shun\desktop\django\django\django\test\runner.py", line 484, in build_suite tests = self.test_loader.loadTestsFromName(label) File "c:\users\shun\appdata\local\programs\python\python36\Lib\unittest\loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "c:\users\shun\desktop\django\django\tests\migrations\test_autodetector.py", line 18, in from .models import FoodManager, FoodQuerySet File "c:\users\shun\desktop\django\django\tests\migrations\models.py", line 9, in class ModelWithCustomBase(models.Model, metaclass=CustomModelBase): File "c:\users\shun\desktop\django\django\django\db\models\base.py", line 108, in __new__ "INSTALLED_APPS." % (module, name) RuntimeError: Model class tests.migrations.models.ModelWithCustomBase doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. Process finished with exit code 1 -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/368001d5-2673-4716-8b7d-d0478d90e5da%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Willing to contribute to Django
This the link you're looking for: https://code.djangoproject.com/ On Tuesday, October 3, 2017 at 10:41:28 PM UTC-7, Sai wrote: > > Hello Django developers, > I'm Sai. I'm using django from last 2 years. I worked with other > frameworks like Rails,Node. I'm very much attracted to django framework and > i would like to contribute to django features. I'm good in computer > networks and cryptography. Could some guide me on any features on which i > can work. > Thanks > > Sai Phanindhra > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/dee6192c-067e-4836-bd4e-91261a39f233%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.