Hi all,

I created a project named sample using "python manage.py startproject
sample". Now, a directory structure with root directory "sample" is created.

Under the root directory, another directory named "sample" and a file named
"manage.py" are created.

Now, Inside root directory (outer directory), "sample", i created a new app
using "python manage.py startapp register"

Now inside outer (root) directory "sample", "manage.py" file and "sample"
and "register" folders present.

Now, in urls.py in sample folder under the root sample folder
(sample->sample->urls.py), i have an import statement called "from
register.views import register_user".

Now, i am getting the error "No module named register" when try to run
"python manage.py runserver"

Can anyone help me out.??

Thanks
Abhilash

On Mon, Jul 9, 2012 at 4:09 PM, hanumanth abhilash <
hanumanth.abhil...@gmail.com> wrote:

> Thanks for the quick reply. I've gone through the same document in pieces.
>
> I want to build a simple registration form using models, templates, views.
>
> So, i created a project named 'sample'. Now, html file which has design of
> form elements should be placed where?
>
> Can you give me the structure where to place the files inside sample
> project folder.
>
> Thanks
> Abhilash
>
> On Mon, Jul 9, 2012 at 4:05 PM, M Hussain <md.hu...@gmail.com> wrote:
>
>> Hi
>>
>> please begin from here, http://djangobook.com/en/2.0/  you'll know by
>> your own :)
>> if you get any hurdles, post with detailed error report.
>>
>> Cheers
>> Hussain
>>
>>
>>
>> On Mon, Jul 9, 2012 at 12:19 PM, hanumanth abhilash <
>> hanumanth.abhil...@gmail.com> wrote:
>>
>>> I have gone through django documentation and came to know what is a
>>> template, model and view. Please help me start with and to build a sample
>>> registration form. How should i start to build a project?
>>>
>>> That would be great if some one helps me.
>>>
>>> Thanks in advance
>>> Abhilash
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to