Re: Django

2018-05-22 Thread Shivprasad Khandapure
Thank you On 22 May 2018 1:15 a.m., "James Farris" wrote: > Start with the Django docs tutorials > https://docs.djangoproject.com/en/2.0/intro/tutorial01/ > > > On Mon, May 21, 2018 at 12:20 PM chaitanya goud < > chaitanya.crea...@gmail.com> wrote: > >> Google "full stack python " >> >> On 22-Ma

Open Sqlite database file directly in django

2018-05-22 Thread Sourabh Jaiswal
Hi, Is there any way to open sqlite db directly in django. I am working on an application for which a back end script creates a database for every execution. The database consists of multiple tables and I have to show those tables on the web site made in django. Is there any other way around f

Django

2018-05-22 Thread uobodomavin
please, I need information on if Django can be used only with the knowledge of python.or if it requires a combined knowledge of HTML and Python programming and please advice me on how to acquire quick knowledge on HTML if its compulsory in the understanding Django. -- You received this mes

Re: Django

2018-05-22 Thread Julio Biason
Hey Uobodomavin, You could, in theory, use one Python, but with pure Django, you'll, at some point, use HTML. MDN has a series of articles about HTML, which you'll see is not that hard: https://developer.mozilla.org/en-US/docs/Web/HTML When I mentioned pure Django, I meant that you could build a

Re: Open Sqlite database file directly in django

2018-05-22 Thread PASCUAL Eric
Hi Jaiswal, You can use the Python sqlite3 standard lib for opening this database and manipulate it, and then display data using views written with Django. Eric From: django-users@googlegroups.com on behalf of Sourabh Jaiswal Sent: Tuesday, May 22, 2018 8:0

Re: Open Sqlite database file directly in django

2018-05-22 Thread PASCUAL Eric
Re, But you'll not be able to access the sqlite DB through Django models, since it will not have the proper schema. Eric From: PASCUAL Eric Sent: Tuesday, May 22, 2018 3:59:35 PM To: Django users Subject: Re: Open Sqlite database file directly in django Hi Ja

Re: getting error while reloading the url"http://localhost:8000/polls/".The error is given below.Please tell my why i am seeing this error?

2018-05-22 Thread Avitab Ayan Sarmah
Mysite\urls.py: from django.contrib import admin from django.urls import include, path urlpatterns = [ path('', include('polls.urls')), path('admin/', admin.site.urls), ] polls\urls.py: from django.urls import path from . import views app_name = 'polls' urlpatterns = [ # ex: /polls/ path('', vi

Re: Open Sqlite database file directly in django

2018-05-22 Thread Vinicius Assef
It depends. If tables have always the same schema and only their data is different, you can use `manage.py inspectdb` [0] to create models and develop your views. [0] https://docs.djangoproject.com/en/2.0/ref/django-admin/#inspectdb On 22 May 2018 at 11:01, PASCUAL Eric wrote: > Re, > > > Bu

Re: getting error while reloading the url"http://localhost:8000/polls/".The error is given below.Please tell my why i am seeing this error?

2018-05-22 Thread 'Anthony Flury' via Django users
In your MySite\urls.py : urlpatterns = [ path('', include('polls.urls')), path('admin/', admin.site.urls), ] should be urlpatterns = [ path('polls', include('polls.urls')), path('admin/', admin.site.urls), ] Django doesn't assume that the url should be /polls - just b

Re: getting error while reloading the url"http://localhost:8000/polls/".The error is given below.Please tell my why i am seeing this error?

2018-05-22 Thread 김영찬
urlpatterns = [ path('', include('polls.urls')), path('admin/', admin.site.urls) ] In this chuck of code, you should write like this, urlpatterns = [ path('polls/', include('polls.urls')), path('admin/', admin.site.urls), ] 2018년 5월 23일 (수) 오전 12:27, Avitab Ayan Sarmah 님이 작성: > Mysite\urls.py:

Re: Django

2018-05-22 Thread 김영찬
https://tutorial.djangogirls.org/ Tutorial in djangogirls is easier than those in django official documentation. 2018년 5월 22일 (화) 오후 7:25, Shivprasad Khandapure 님이 작성: > Thank you > > On 22 May 2018 1:15 a.m., "James Farris" wrote: > >> Start with the Django docs tutorials >> https://docs.django

Re: First View

2018-05-22 Thread Journal-Immo
Hello First : thanks for your Help. It's very easy, but I need 4 hours...to understand... don't panic :-! Have a good day Le 21/05/2018 à 23:55, Daniel Germano Travieso a écrit : Hello! As you configured, the available url patterns you have on your project are: "/admin/" and "/boutique/"...

Re: Open Sqlite database file directly in django

2018-05-22 Thread Jimmy Cowden
On Tue, May 22, 2018, 8:25 AM Sourabh Jaiswal wrote: > Hi, > > Is there any way to open sqlite db directly in django. > > I am working on an application for which a back end script creates a > database for every execution. > The database consists of multiple tables and I have to show those tables

Re: Open Sqlite database file directly in django

2018-05-22 Thread PASCUAL Eric
Thanks for the tip, I didn't notice this management command before. Eric From: django-users@googlegroups.com on behalf of Vinicius Assef Sent: Tuesday, May 22, 2018 6:56:20 PM To: django-users@googlegroups.com Subject: Re: Open Sqlite database file directly in

Re: money field question

2018-05-22 Thread Simon McConnell
I'm in a similar boat at the moment. There is https://github.com/vimeo/py-money too. Note that django-money uses py-moneyed which does not yet use Babel, so rendering of the correct symbol is limited to a few hardcoded currencies. https://github.com/python-babel/babel On Tuesday, 22 May 20