Re: syncdb issue (begginer stuff)

2013-08-26 Thread Andre Terra
On Mon, Aug 26, 2013 at 1:19 PM, Natko Perko  wrote:

> @laurent i guess it worked, but now i get the error no module named
> wikicamp.wiki.. this is all the code i have so far..


make sure the folder containing wikicamp is inside your PATH so you don't
get import errors. make sure there's an __init__.py inside it.

perhaps you could debug the import error like this:

$ ./manage.py shell
>>> import sys
>>> print '\n'.join(sys.path)
>>> import wikicamp
>>> from wikicamp import wiki


In the future, please post an entire traceback along with your question.

Cheers,
AT

-- 
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: syncdb issue (begginer stuff)

2013-08-26 Thread Natko Perko
@laurent i guess it worked, but now i get the error no module named 
wikicamp.wiki.. this is all the code i have so far..

from django.db import models

# Create your models here.

class Page(models.Model):
name = models.CharField(maxlength="20", primary_key=True)
content = models.TextField(blank=True)

   
:wq

@mantaszilinskis   thx for the links, gonna check them out

-- 
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: syncdb issue (begginer stuff)

2013-08-26 Thread Mantas Zilinskis
for your environment:
you should definitely look into this
http://www.jeffknupp.com/blog/2012/02/09/starting-a-django-project-the-right-way/

 if you're using mac also this
http://hackercodex.com/guide/python-virtualenv-on-mac-osx-mountain-lion-10.8/

setup your settings.py
http://www.rdegges.com/the-perfect-django-settings-file/

then work your way through tutorials

one more thing you should start with is writing your tests
http://www.youtube.com/watch?v=WfyoC0h9QKA


On Mon, Aug 26, 2013 at 8:53 AM, Laurent Meunier wrote:

> On 26/08/2013 14:34, Natko Perko wrote:
>
>> Hi out there,
>>
>> I just dove into Django (literally) and had so many issues installing it
>> and knowing where to start from that I don't even know how I made it
>> this far, so i finally started working on a project by mimicing this
>> tutorial 
>> http://showmedo.com/**videotutorials/video?name=**110.
>> Well id
>> didnt last for long since I already got stuck at 3:40 when the gentleman
>> is syncing his db. this is what I get If any1 knows a good video
>> tutorial for dummies please share with me cuz im desperate. Thx for
>> reading..
>>
>
> Hi,
>
> What is the value of DATABASES['default']['ENGINE'] in your settings.py?
>
> I think you have entered only 'sqlite3', but django wants you to enter the
> full path to the module (ie: 'django.db.backends.sqlite3').
>
>
> Best regards,
> --
> Laurent Meunier 
>
> --
> 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+unsubscribe@**googlegroups.com
> .
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at 
> http://groups.google.com/**group/django-users
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>

-- 
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: syncdb issue (begginer stuff)

2013-08-26 Thread Laurent Meunier

On 26/08/2013 14:34, Natko Perko wrote:

Hi out there,

I just dove into Django (literally) and had so many issues installing it
and knowing where to start from that I don't even know how I made it
this far, so i finally started working on a project by mimicing this
tutorial http://showmedo.com/videotutorials/video?name=110. Well id
didnt last for long since I already got stuck at 3:40 when the gentleman
is syncing his db. this is what I get If any1 knows a good video
tutorial for dummies please share with me cuz im desperate. Thx for
reading..


Hi,

What is the value of DATABASES['default']['ENGINE'] in your settings.py?

I think you have entered only 'sqlite3', but django wants you to enter 
the full path to the module (ie: 'django.db.backends.sqlite3').



Best regards,
--
Laurent Meunier 

--
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.