Re: New to Django (stuck at the end of the tutorial)

2016-05-01 Thread Cronos Cto
Ty Aeron I will check it 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

Re: New to Django (stuck at the end of the tutorial)

2016-04-30 Thread Aaron Poncé
Just a related/unrelated sidenote.. I'm also new to Django and I found an amazing tutorial series on youtube... Just wanted to share it with you: https://youtu.be/FNQxxpM1yOs?list=PLQVvvaa0QuDeA05ZouE4OzDYLHY-XH-Nd It's a 12 part series and it really helped me get the ball rolling On

Re: New to Django (stuck at the end of the tutorial)

2016-04-29 Thread Mie Rex
I just did another try with a different version of Django which is same version of Django used in the book I am reading. It turns out where the project(mysite) saved has no effect on it. I think it's how Django suppose to behave. Perhaps you are not working with the same version of Django as

Re: New to Django (stuck at the end of the tutorial)

2016-04-28 Thread Cronos Cto
Nikhil Beniwal , I tried I get an error that says __init__() takes 1 positional argument but 2 were given. I don't understand, I must be doing something wrong since this was done with the help of the Django official tutorial. -- You received this message because you are subscribed to the

Re: New to Django (stuck at the end of the tutorial)

2016-04-27 Thread Mie Rex
> > I had a smiliar problem with another Django tutorial. > I was running Django with Anaconda environment and I took the advice from "Two Scoop Django" to have all projects stored in one directory and all the environment in another. Therefore the project "mysite" was initialized and put in

Re: New to Django (stuck at the end of the tutorial)

2016-04-27 Thread Nikhil Beniwal
You can define it like :- url(r'^$', 'apps_name.views.home', name='home'), On Wednesday, April 27, 2016 at 6:28:38 AM UTC+5:30, Cronos Cto wrote: > > Could you give me an example or so Vijay Khemali? > -- You received this message because you are subscribed to the Google Groups "Django

Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Cronos Cto
Could you give me an example or so Vijay Khemali? -- 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

Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Vijay Khemlani
You still haven't defined a rule to handle the root path, just admin and sistema On Tue, Apr 26, 2016 at 8:56 PM, Cronos Cto wrote: > > > ´ >

Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Cronos Cto
´ Doesnt seem to fix it still. I have no clue how to go further, totally new to django. -- You received this message because you are subscribed to the Google

Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Patrick Harding
maybe giving it a namespace would handle it for you? such as include('sistema.urls', namespace='sistema') if not you can try this. the error i get is that you should "pass the callable instead" which means in your imports include the views that you want to import, then call them in you

Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Cronos Cto
I have tried the include solution. Just creates more erros as knbk said. -- 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

Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Cronos Cto
terça-feira, 26 de Abril de 2016 às 08:33:09 UTC+1, Cronos Cto escreveu: > > > Hello Django Lovers. > > So I started on Django as project of mine. Seems like a great first > framework to start on. At the moment I am stuck at this: > > > >

Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread knbk
Since 1.9, admin.site.urls is a special case, and you should not use include(). If you do, you'll trigger some deprecation warnings due to changes to include(). On Tuesday, April 26, 2016 at 6:33:40 PM UTC+2, Nikhil Beniwal wrote: > > The Problem is in your line 21. > > admin.site.urls should

Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Nikhil Beniwal
The Problem is in your line 21. admin.site.urls should be wrapped inside include like :- url(r'^admin/', include(admin.site.urls)), On Tuesday, April 26, 2016 at 1:03:09 PM UTC+5:30, Cronos Cto wrote: > > > Hello Django Lovers. > > So I started on Django as project of mine. Seems like a great

Re: New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Cristiano Valente
You have defined no view to handle the root url. You only have two routes: ^/sistema and ^/admin. Besides, you should wrap admin.site.url in an include(). Il giorno martedì 26 aprile 2016 09:33:09 UTC+2, Cronos Cto ha scritto: > > > Hello Django Lovers. > > So I started on Django as project of

New to Django (stuck at the end of the tutorial)

2016-04-26 Thread Cronos Cto
Hello Django Lovers. So I started on Django as project of mine. Seems like a great first framework to start on. At the moment I am stuck at this: This was after