Re: Tutorial Part 1

2020-05-08 Thread Luqman Jr
Hello
Did you create urls.py under polls app?
You should have urls.py under polls app which will list all urls fall under 
this app.
Then share with us polls/urls.py and polls/views.py so that we can help more on 
this.
On 9 May 2020, 03:11 +0300, Randy Zeitvogel , wrote:
> I just started working with Django in the last couple of days.
> First environment is Ubuntu 19.10, python 3.7.5 and Django 3.1.  Second 
> environment is Fedora 31, python 3.7.5, and Django 3.0.6.
> In both cases after I create the polls app and try it out, I get this:
>
> Page not found (404)
> Request Method:
> GET
> Request URL:
> http://localhost:8000/polls/
> Using the URLconf defined in mysite.urls, Django tried these URL patterns, in 
> this order:
>
> 1. admin/
>
> The current path, polls/, didn't match any of these.
> You're seeing this error because you have DEBUG = True in your Django 
> settings file. Change that to False, and Django will display a standard 404 
> page.
>
> The feedback from the development web server (python manage.py runserver) is:
>
> jango version 3.0.6, using settings 'mysite.settings'
> Starting development server at http://127.0.0.1:8000/
> Quit the server with CONTROL-C.
> Not Found: /polls/
> [08/May/2020 17:28:16] "GET /polls/ HTTP/1.1" 404 1957
>
> My mysite/urls.py looks like this:
>
> from django.contrib import admin
> from django.urls import include, path
>
> urlpatterns = [
>path('polls/', include('polls.urls')),
>path('admin/', admin.site.urls),
> ]
>
> Any help would be appreciated.
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/b7b3b071-7255-4fc1-84c8-db7d1766e5dd%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3baac878-0c7c-4bec-8788-5d04b21b%40Spark.


Re: How to make Django Project Mobile Compatible

2019-05-11 Thread Luqman Jr
Between Angular and React which one is the best to be used with Django?
On 11 May 2019, 10:38 +0300, Balaji Shetty , wrote:
> Hi  Nick Sarbicki
>
> Thank You very much for your reply.
> May I know which framework is to be learned for necessary implementation?.
> It should be easy to earn with help support.
>
> > On Sat, May 11, 2019 at 12:40 PM Nick Sarbicki  
> > wrote:
> > > Hi,
> > >
> > > Django is completely naive to whether a frontend is mobile friendly or 
> > > not.
> > >
> > > You can use react or angular, you can also use many other frontend 
> > > frameworks. Django can work with all frontend frameworks. The choice is 
> > > entirely up to you.
> > >
> > > > On Sat, 11 May 2019, 08:04 Balaji Shetty,  
> > > > wrote:
> > > > > Hi
> > > > >
> > > > > How can i make my Django Project view Mobile Compatible.
> > > > > Should i use Angular JS / React  . Please let me know.
> > > > >
> > > > > Thanks in Advance
> > > > >
> > > > > --
> > > > > Mr. Shetty Balaji S.
> > > > > Asst. Professor
> > > > > Department of Information Technology,
> > > > > SGGS Institute of Engineering & Technology, Vishnupuri, 
> > > > > Nanded.MH.India
> > > > > Official: bsshe...@sggs.ac.in
> > > > >   Mobile: +91-9270696267
> > > > >
> > > > > --
> > > > > 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/CAECSbOveKW_5aohHGKCJcVxPtwMg-wTBC8ttVRpPJc3YOA7dKg%40mail.gmail.com.
> > > > > 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/CAGuvt92gdOmQSsZrW2BixcsFfc17DWbia0mfvv4rUYr7WZtyfw%40mail.gmail.com.
> > > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Mr. Shetty Balaji S.
> Asst. Professor
> Department of Information Technology,
> SGGS Institute of Engineering & Technology, Vishnupuri, Nanded.MH.India
> Official: bsshe...@sggs.ac.in
>   Mobile: +91-9270696267
>
> --
> 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/CAECSbOszXSWCEkEtxTmXQuK53k-A-AW_pPJVri_NWEqoovXunA%40mail.gmail.com.
> 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/00348a15-c851-4117-8a26-91fd5cd21a34%40Spark.
For more options, visit https://groups.google.com/d/optout.