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-May-2018 12:49 am, "Shivprasad Khandapure" <
>> shivkhandapure...@gmail.com> wrote:
>>
>> Hii everyone
>> I'm interested to learn django framework. I'm new in python and
>> django so give some important important ideas, details about django and its
>> basics. How can i work with django and its python libraries and its
>> templates.
>>  Thank you..!
>>
>> --
>> 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/CAFR1ACRU_YGo-otVE-hD9nBTNCcznuXMhy8m00%
>> 3DoaPz%2B9%2BmsBw%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/CA%2BkSnu6kWcePXQtFWot2ZMrbMd%
>> 2BTLBjSFmFaX2fY2zdV3J8oow%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/CAE-E-_3%3D3R%3D25QYifm8NneDFE6j6Cqw18jRNzGT
> TFtAm0%3DjvLg%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/CAFR1ACSh2GpOZZG_qFvny6r3E8GrJaFOjj9mE3KA9SOVWvxUXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 for this?

Any help will be greatly appreciated.

Thanks,
Jaiswal.

-- 
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/d24eda2f-8051-42eb-9081-b986dfd234c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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/76015dc8-28ae-4bdf-bed4-6195273b9a3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 pure API,
returning JSON instead of HTML and avoiding the whole thing. It would
require someone else to write some application (or HTML page with
JavaScript) to make use of this API. If you plan to go this way, I'd
suggest getting a look at DjangoRestFramework, which is a framework on top
of Django to help build APIs: http://www.django-rest-framework.org/

On Tue, May 22, 2018 at 7:29 AM,  wrote:

> 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 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/76015dc8-28ae-4bdf-bed4-6195273b9a3d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Julio Biason*, Sofware Engineer
*AZION*  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101   |  Mobile: +55 51
*99907 0554*

-- 
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/CAEM7gE00A8-ex_D5ywbeGM_9qRfZqEuw0MbYRpDr2dQtxKTQCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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:02:03 AM
To: Django users
Subject: Open Sqlite database file directly in django

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 for this?

Any help will be greatly appreciated.

Thanks,
Jaiswal.

--
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/d24eda2f-8051-42eb-9081-b986dfd234c3%40googlegroups.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/DB7P193MB0331177AEF4D72DDD2C23FC88C940%40DB7P193MB0331.EURP193.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.


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 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:02:03 AM
To: Django users
Subject: Open Sqlite database file directly in django

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 for this?

Any help will be greatly appreciated.

Thanks,
Jaiswal.

--
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/d24eda2f-8051-42eb-9081-b986dfd234c3%40googlegroups.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/DB7P193MB0331365FA7C61731D9F3F0D68C940%40DB7P193MB0331.EURP193.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.


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('', views.IndexView.as_view(), name='index'),
# ex: /polls/5/
path('/', views.DetailView.as_view(), name='detail'),
# ex: /polls/5/results/
path('/results/', views.ResultsView.as_view(), name='results'),
# ex: /polls/5/vote/
path('/vote/', views.vote, name='vote'),
]


On Friday, May 18, 2018 at 10:42:17 PM UTC+5:30, James Farris wrote:
>
> What does your urls.py look like?
>
> According to the error it doesn’t appear that polls/ is defined in your 
> urls.py file
>
> On Fri, May 18, 2018 at 10:05 AM Avitab Ayan Sarmah  > wrote:
>
>> 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. [name='index']
>>2. / [name='detail']
>>3. /results/ [name='results']
>>4. /vote/ [name='vote']
>>5. 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.
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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/54b07f4e-663c-4ed0-a419-541d735148a1%40googlegroups.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/0d8bf4ad-99dc-4c0e-8341-1084e15daf75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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,
>
>
> 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 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:02:03 AM
> To: Django users
> Subject: Open Sqlite database file directly in django
>
> 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 for this?
>
> Any help will be greatly appreciated.
>
> Thanks,
> Jaiswal.
>
> --
> 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/d24eda2f-8051-42eb-9081-b986dfd234c3%40googlegroups.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/DB7P193MB0331365FA7C61731D9F3F0D68C940%40DB7P193MB0331.EURP193.PROD.OUTLOOK.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/CAFmXjSBwpOAXa-ZsAj8kZnvVetjrodkaeaXssc4B2-FerjcHnA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 
because the app name is 'polls' - you have to be explicit about the url 
path that needs to be matched.

--
Anthony Flury
email : *anthony.fl...@btinternet.com*
Twitter : *@TonyFlury *

On 22/05/18 16:27, Avitab Ayan Sarmah wrote:

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('', views.IndexView.as_view(), name='index'),
# ex: /polls/5/
path('/', views.DetailView.as_view(), name='detail'),
# ex: /polls/5/results/
path('/results/', views.ResultsView.as_view(), name='results'),
# ex: /polls/5/vote/
path('/vote/', views.vote, name='vote'),
]


On Friday, May 18, 2018 at 10:42:17 PM UTC+5:30, James Farris wrote:

What does your urls.py look like?

According to the error it doesn’t appear that polls/ is defined in
your urls.py file

On Fri, May 18, 2018 at 10:05 AM Avitab Ayan Sarmah
> wrote:


  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. [name='index']
 2. / [name='detail']
 3. /results/ [name='results']
 4. /vote/ [name='vote']
 5. 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.

-- 
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...@googlegroups.com
.
To post to this group, send email to
django...@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/54b07f4e-663c-4ed0-a419-541d735148a1%40googlegroups.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/0d8bf4ad-99dc-4c0e-8341-1084e15daf75%40googlegroups.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/1b976379-41c5-27ed-36e7-a2e938876df8%40btinternet.com.
For more options, visit https://groups.google.com/d/optout.


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:
> 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('', views.IndexView.as_view(), name='index'),
> # ex: /polls/5/
> path('/', views.DetailView.as_view(), name='detail'),
> # ex: /polls/5/results/
> path('/results/', views.ResultsView.as_view(), name='results'),
> # ex: /polls/5/vote/
> path('/vote/', views.vote, name='vote'),
> ]
>
>
> On Friday, May 18, 2018 at 10:42:17 PM UTC+5:30, James Farris wrote:
>>
>> What does your urls.py look like?
>>
>> According to the error it doesn’t appear that polls/ is defined in your
>> urls.py file
>>
>> On Fri, May 18, 2018 at 10:05 AM Avitab Ayan Sarmah 
>> wrote:
>>
>>> 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. [name='index']
>>>2. / [name='detail']
>>>3. /results/ [name='results']
>>>4. /vote/ [name='vote']
>>>5. 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.
>>>
>>> --
>>> 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...@googlegroups.com.
>>> To post to this group, send email to django...@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/54b07f4e-663c-4ed0-a419-541d735148a1%40googlegroups.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/0d8bf4ad-99dc-4c0e-8341-1084e15daf75%40googlegroups.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/CA%2Bfs_csn_q6ZhQ2ui%3DSd8rk8zgKXKRJs2kYnzyAAR-AuAfEkyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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.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-May-2018 12:49 am, "Shivprasad Khandapure" <
>>> shivkhandapure...@gmail.com> wrote:
>>>
>>> Hii everyone
>>> I'm interested to learn django framework. I'm new in python and
>>> django so give some important important ideas, details about django and its
>>> basics. How can i work with django and its python libraries and its
>>> templates.
>>>  Thank you..!
>>>
>>> --
>>> 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/CAFR1ACRU_YGo-otVE-hD9nBTNCcznuXMhy8m00%3DoaPz%2B9%2BmsBw%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/CA%2BkSnu6kWcePXQtFWot2ZMrbMd%2BTLBjSFmFaX2fY2zdV3J8oow%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/CAE-E-_3%3D3R%3D25QYifm8NneDFE6j6Cqw18jRNzGTTFtAm0%3DjvLg%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/CAFR1ACSh2GpOZZG_qFvny6r3E8GrJaFOjj9mE3KA9SOVWvxUXQ%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/CA%2Bfs_csS93oLzMW_m17ws0z1hdkA_vkB%3DKr-vB%3Dn_WEau7bgLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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/"... And as you 
request states, you are trying to access the path "/".. So 
django didn't find any matching url pattern for that.


To access the view you are intended to access, you should access 
"/boutique/".


To advance further I recommend you to check the documentation on URL 
patterns!


Hope it helps.

*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*

On Mon, May 21, 2018 at 5:55 PM, Tristan Demot 
mailto:cont...@journal-immo.com>> wrote:


Hello,

I use tutorial 1.11

beaumarche (startproject)

|
fromdjango.conf.urls importinclude,url
fromdjango.contrib importadmin


urlpatterns =[

    url(r'^boutique/',include('boutique.urls')),
    url(r'^admin/',admin.site.urls),
]


boutique (app)


urls.py


fromdjango.conf.urls importurl


from.importviews


urlpatterns =[
      url(r'^$',views.index,name='index'),
]




views.py
fromdjango.http importHttpResponse


defindex(request):
returnHttpResponse("Hello, world...")


127.0.0.1:8000
Usingthe URLconfdefinedinbeaumarche.urls,Djangotried these URL
patterns,inthisorder:


1.^boutique/
2^admin/


Theempty path didn't match any of these
|

An idea maybe

Thanks

-- 
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/5431a0c8-1365-4a73-8026-25c57c2f775b%40googlegroups.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/CABF8kZPpN_nQ1Xkjq-5%2BWBip1EMxtY-sUuo9grZ4ZnttL5hRag%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/85958658-6366-1a35-a28b-a1ad8aba5b5f%40journal-immo.com.
For more options, visit https://groups.google.com/d/optout.


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
> on the web site made in django.
>
> Is there any other way around for this?
>
> Any help will be greatly appreciated.
>
> Thanks,
> Jaiswal.
>
> --
> 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/d24eda2f-8051-42eb-9081-b986dfd234c3%40googlegroups.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/CAAGmvR7wX3d1nXuzKrXtGE5B5xQFQLytxfNzdoz2%2BYP2XkmB1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 django

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,
>
>
> 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 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:02:03 AM
> To: Django users
> Subject: Open Sqlite database file directly in django
>
> 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 for this?
>
> Any help will be greatly appreciated.
>
> Thanks,
> Jaiswal.
>
> --
> 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/d24eda2f-8051-42eb-9081-b986dfd234c3%40googlegroups.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/DB7P193MB0331365FA7C61731D9F3F0D68C940%40DB7P193MB0331.EURP193.PROD.OUTLOOK.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/CAFmXjSBwpOAXa-ZsAj8kZnvVetjrodkaeaXssc4B2-FerjcHnA%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/DB7P193MB0331EC8A0C09225164AA81708C940%40DB7P193MB0331.EURP193.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.


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 2018 11:25:04 UTC+10, Mike Dewhirst wrote:
>
> I have just read ... 
>
> * Martin Fowler's Money base pattern (P488 to 495) 
> https://martinfowler.com/eaaCatalog/money.html 
> * https://github.com/poswald/python-money 
> * https://github.com/django-money/django-money 
> * https://github.com/limist/py-moneyed 
>
> ... and I am spoiled for choice. I was going to just use a DecimalField 
> and CharField for currency and do my own thing when I decided to pull 
> Martin Fowler off my shelf and saw how careful I was going to need to be. 
>
> My question: Is Django planning to adopt one or other of the above 
> implementations? 
>
> I'm just trying to short-circuit more detailed analysis of these 
> packages and perhaps others I haven't yet found. If one is on the 
> horizon for Django I'll just go with that. 
>
> Thanks 
>
> Mike 
>
>
>
>

-- 
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/762af31e-56fd-4976-bef2-f627c5673f38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.