#30950: Replace __file__ with importlib.resources
---------------------------------+-----------------------------------------
     Reporter:  John Vandenberg  |                    Owner:  nobody
         Type:  New feature      |                   Status:  new
    Component:  Core (Other)     |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Someday/Maybe
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+-----------------------------------------

Comment (by CarlosMirdeSouza):

 Sorry for the mistake, i understood this as an error in the code:
 ```
   File "django.test", line 3, in <module>
   File "django.test.client", line 14, in <module>
   File "django.core.handlers.base", line 8, in <module>
   File "django.urls", line 1, in <module>
   File "django.urls.base", line 8, in <module>
   File "django.urls.exceptions", line 1, in <module>
   File "django.http", line 5, in <module>
   File "django.http.response", line 15, in <module>
   File "django.core.serializers", line 23, in <module>
   File "django.core.serializers.base", line 7, in <module>
   File "django.db.models", line 3, in <module>
   File "django.db.models.aggregates", line 5, in <module>
   File "django.db.models.expressions", line 8, in <module>
   File "django.db.models.fields", line 11, in <module>
   File "django.forms", line 6, in <module>
   File "django.forms.boundfield", line 4, in <module>
   File "django.forms.widgets", line 26, in <module>
   File "django.forms.renderers", line 16, in <module>
 NameError: name '__file__' is not defined
 ```

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30950#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.78884fc2b8b3f8fc44ba18dea694724e%40djangoproject.com.

Reply via email to