Re: invalid literal for int() with base 10: 'admin'

2019-06-25 Thread Harshit
'music.urls')), path('music/',include('music.urls')), path('admin/', admin.site.urls), ] urlpatterns += staticfiles_urlpatterns() urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) On Tuesday, June 25, 2019 at 4:14:05 PM UTC+5:30, Sipum wrote: &g

Re: invalid literal for int() with base 10: 'admin'

2019-06-25 Thread Harshit
) return redirect('music:index') return render(request,self.template_name,{'form':form}) On Tuesday, June 25, 2019 at 9:37:34 PM UTC+5:30, Sipum wrote: > > Plz share views.py as well.. I hvae mentioned two. Kindly share. > > On Tue, 25 Jun, 2019, 8:47 PM Harshit,

Re: invalid literal for int() with base 10: 'admin'

2019-06-27 Thread Harshit
It worked!. Thanks Piotr Duda On Wednesday, June 26, 2019 at 6:11:24 PM UTC+5:30, Piotr Duda wrote: > > Try move first path to end in your main urls.py. > > W dniu wtorek, 25 czerwca 2019 17:17:04 UTC+2 użytkownik Harshit napisał: >> >> Here is urls.py of my app >> &

Can u tell me how to build restful api project in django

2015-08-14 Thread HARSHIT GARG
I am getting the following error: ImportError: rest_framework doesn't look like a module path -- 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+unsub

invalid literal for int() with base 10: 'admin'

2019-06-24 Thread Harshit Agarwal
Hi guys, I am currently working on a working on a project. Everything is working fine but i am not able to access my admin. How can i solve this? Here is my Stack Trace Traceback: File "C:\ProgramData\Anaconda3\lib\site-packages\django\core\handlers\exception.py" in inner 34. respon

deploy django on AWS

2019-06-30 Thread Harshit Agarwal
Hello Django users, I want to host my django website on aws, This is first time that i am hosting a website. Can u suggest any good resource from which i can learn? Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from t

Adding Search functionality in django

2019-07-10 Thread Harshit Agarwal
Hello I am doing a project and want to add a voice search button in my website. Means intead of typing i can search using my voice. Does anyone has any idea about how can i do this ?. I am thinking of pyttsx3. Is it possible to do with it? Please help Thank you -- You received this message becau