Thanks for your reply but i change movie_resource to all caps ie
MOVIE_RESOURCE and the problem did not stop. please look at my problem
panel below. Actually i am trying to create an API
[image: api_probem.png]
Website: http://transtech.ga/
Facebook: https://web.facebook.com/transtechno/
Email: i...@transtech.ga
Tell:+2348065698415



On Sun, Mar 31, 2019 at 5:21 AM Babatunde Akinyanmi <tundeba...@gmail.com>
wrote:

> Hi,
> That's pylint telling you to change the variable name 'movie_resource' to
> all caps.
>
> On Sat, 30 Mar 2019, 07:30 Dennis Alabi, <dennisal...@gmail.com> wrote:
>
>> My program throw up this error >>Constant name "movie_resource" doesn't
>> conform to UPPER_CASE naming stylepylint(invalid-name)
>>
>>
>>
>>
>>
>> """vidly URL Configuration
>>
>> The `urlpatterns` list routes URLs to views. For more information please
>> see:
>> https://docs.djangoproject.com/en/2.1/topics/http/urls/
>> Examples:
>> Function views
>> 1. Add an import: from my_app import views
>> 2. Add a URL to urlpatterns: path('', views.home, name='home')
>> Class-based views
>> 1. Add an import: from other_app.views import Home
>> 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
>> Including another URLconf
>> 1. Import the include() function: from django.urls import include, path
>> 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
>> """
>> from django.contrib import admin
>> from django.urls import path, include
>> from api.models import MovieResource
>>
>> movie_resource = MovieResource()
>>
>>
>> urlpatterns = [
>> path('admin/', admin.site.urls),
>> path('movies/', include('movies.urls')),
>> path('api/', include('movie_resource.urls'))
>> ]
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/a91173a8-058c-4b4a-a7db-183be3567e76%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/a91173a8-058c-4b4a-a7db-183be3567e76%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2BWjgXO_VVMvTq4r_4-%2BhbzNDVjs1HH78mN63HTcBNgUdVcd1A%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BWjgXO_VVMvTq4r_4-%2BhbzNDVjs1HH78mN63HTcBNgUdVcd1A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2B3GiJjOwxukADYL3RrEiFE%2B7aaVV%3DpJ3Uf5axZKuF2BgAd0xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to