django tut 01

38 views
Skip to first unread message

atul...@iiitd.ac.in

unread,
Jul 28, 2014, 4:48:21 AM7/28/14
to django...@googlegroups.com
Can't access database sqlite3. I am beginner . I cant use the database when i run command " python manage.py syncdb".
Please help!
P.s. Can anyone please tell how to use sqlite3 database ( I know nothing about it )
Thankyou

ngangsia akumbo

unread,
Jul 28, 2014, 8:57:04 AM7/28/14
to django...@googlegroups.com
paste on here the setting files, and the error you are having.

Glyn Jackson

unread,
Jul 28, 2014, 3:59:50 PM7/28/14
to django...@googlegroups.com
You need to be a little more detailed about your error. When you say "Can't access database sqlite3" are you referring to permissions? Please post your settings. 

In the mean, time check you have the correct read/write permissions on the directory.Try "sudo python manage.py syncdb" (notice the word sudo). If this works you don't have the correct permission setup.  


On Monday, July 28, 2014 9:48:21 AM UTC+1, atul...@iiitd.ac.in wrote:

Soumya Verma

unread,
Jul 29, 2014, 1:13:43 PM7/29/14
to django...@googlegroups.com

 i m a beginner in this area, plz help me to learn this. i dnt know how to create django project...:(
Thank you

François Schiettecatte

unread,
Jul 29, 2014, 1:16:36 PM7/29/14
to django...@googlegroups.com
Two great resources:

https://www.djangoproject.com

https://docs.djangoproject.com/en/1.6/intro/tutorial01/

http://www.djangobook.com/en/2.0/index.html

François

On Jul 29, 2014, at 1:13 PM, Soumya Verma <soumya....@gmail.com> wrote:

>
> i m a beginner in this area, plz help me to learn this. i dnt know how to create django project...:(
> 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...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/68f3d8d2-1005-412d-9014-8bf53b54cdfa%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

memilanuk

unread,
Jul 30, 2014, 2:15:44 AM7/30/14
to django...@googlegroups.com
On 07/29/2014 10:15 AM, François Schiettecatte wrote:
> Two great resources:
>
> https://www.djangoproject.com
>
> https://docs.djangoproject.com/en/1.6/intro/tutorial01/
>
> http://www.djangobook.com/en/2.0/index.html

Not sure I'd recommend djangobook.com... from their own site:

"This book was originally published by Apress in 2009 and covered Django
version 1.0. Since then it has languished and, in places, is extremely
out of date."

And if you go over their github page... the last updates were about a
year ago. Doesn't really look like they're making any progress towards
updating things.

One site that is reasonably current and very helpful, though:

http://www.tangowithdjango.com/

Written for django 1.5, so it could be a little fresher... but its still
way more current/relevant than djangobook.com.

Just my point of view as another newbie looking at tutorials out there
on the great world wild web ;)

YMMV,

Monte


--
Shiny! Let's be bad guys.

Reach me @ memilanuk (at) gmail dot com
Reply all
Reply to author
Forward
0 new messages