Re: Please someone should help me fix this

2019-09-01 Thread Nur Mohsin
hi, what command you are using to runserver? also send screenshot.

On Mon, 2 Sep 2019, 5:05 am Sullivan Nnaji,  wrote:

> I have activated the virtual environment and CD into the project name and
> manage.py was present but still can't run server
> I always get an error of
> File "manage.py", line 16
>   From exc
>
> SyntaxError: invalid syntax
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/01202497-70c2-41a7-9838-52729bfbfb1a%40googlegroups.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAM0c9RrjYF784r0WoLr3398z4W%3DmE8Q2HJzJ-AwgsZ0zxZThsg%40mail.gmail.com.


Please someone should help me fix this

2019-09-01 Thread Sullivan Nnaji
I have activated the virtual environment and CD into the project name and 
manage.py was present but still can't run server
I always get an error of 
File "manage.py", line 16
  From exc 

SyntaxError: invalid syntax

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/01202497-70c2-41a7-9838-52729bfbfb1a%40googlegroups.com.


Re: Django River - ModuleNotFoundError: No module named 'river'

2019-09-01 Thread Kean
Hi,

Thank you Gill, solution is becoming clearer,

should I pip3 un-install django-river as v- was  installed outside virtualenv,
then reinstall  using pip3 install django-river, within my active venv?

best,

K

n.b Is their a rule to follow with installing django packages,
On 1 Sep 2019, at 22:32, Gil Obradors  wrote:

> With venv deactivated, your are installing onto system library.
> 
> If you run django , without venv, you will run with system lib.  Not 
> recommended.
> 
> 
> When you works with venv, you need yo install into this virtal enviorment.
> How?
> 1.- activate venv
> 2- pip install 
> 
> And go!
> 
> El dg., 1 de set. 2019, 23:26, Kean  va escriure:
> Hi Gil,
> 
> Thank you for the response.
> In the first step, I closed the venv, then installed river, (please see 
> process below)
> This is when I get the issue of Module not found.
> 
> please clarify, are you saying solution is to install django-river with venv 
> active and then it will work?
> would I need to unistall the current instance of django-river firs,t and then 
> re-install django-river wihen venv active?
> 
> Best,
> 
> K
> 
> On 1 Sep 2019, at 22:05, Gil Obradors  wrote:
> 
>> Hi,
>> 
>> 
>> If you deactivate ( close?) venv, and then you install with pip3, it will be 
>> installet to system.
>> If you are using venv, pip3 with venv activated
>> 
>> 
>> Bests djangos,
>> 
>> 
>> 
>> 
>> Missatge de Kean  del dia dg., 1 de set. 2019 a les 21:56:
>> Hi,
>> 
>> New to Django, but can't seem to get django to run the module.
>> The process I followed:
>> 
>> Process.
>> 
>> 1) Closed venv
>> 2) shell: pip3 install django-river 
>> 3) Add 'river' to Installed_apps in settings.py
>> 
>> Please can anyone advise if they have seen this issue before and how 
>> resolved?
>> 
>> Best,
>> 
>> Kean 
>> 
>> 
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/bdb4011d-a896-4bc7-b968-45719c8b9e4f%40googlegroups.com.
>> 
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAK-JoTQRf%3DZ%2BV6nXa%3DeTDR%3DLU6jqn%3DuV8powdhmvfD7%3D4ouE8w%40mail.gmail.com.
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/4DB5DF59-AB23-460B-858C-E7C2B22D8598%40gmail.com.
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAK-JoTQ9LxP%2B37VtbjFyRFZEE1PKxhR9nSKw3Xgjkh-M2hjFCQ%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/A64B0E56-6634-4FAF-A7EE-8F6A7E10D7D0%40gmail.com.


Re: Django River - ModuleNotFoundError: No module named 'river'

2019-09-01 Thread Gil Obradors
With venv deactivated, your are installing onto system library.

If you run django , without venv, you will run with system lib.  Not
recommended.


When you works with venv, you need yo install into this virtal enviorment.
How?
1.- activate venv
2- pip install

And go!

El dg., 1 de set. 2019, 23:26, Kean  va escriure:

> Hi Gil,
>
> Thank you for the response.
> In the first step, I closed the venv, then installed river, (please see
> process below)
> This is when I get the issue of Module not found.
>
> please clarify, are you saying solution is to install django-river with
> venv active and then it will work?
> would I need to unistall the current instance of django-river firs,t and
> then re-install django-river wihen venv active?
>
> Best,
>
> K
>
> On 1 Sep 2019, at 22:05, Gil Obradors  wrote:
>
> Hi,
>
>
> If you deactivate ( close?) venv, and then you install with pip3, it will
> be installet to system.
> If you are using venv, pip3 with venv activated
>
>
> Bests djangos,
>
>
>
>
> Missatge de Kean  del dia dg., 1 de set. 2019 a les
> 21:56:
>
>> Hi,
>>
>> New to Django, but can't seem to get django to run the module.
>> The process I followed:
>>
>> Process.
>>
>> 1) Closed venv
>> 2) shell: pip3 install django-river
>> 3) Add 'river' to Installed_apps in settings.py
>>
>> Please can anyone advise if they have seen this issue before and how
>> resolved?
>>
>> Best,
>>
>> Kean
>>
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/bdb4011d-a896-4bc7-b968-45719c8b9e4f%40googlegroups.com
>> 
>> .
>>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAK-JoTQRf%3DZ%2BV6nXa%3DeTDR%3DLU6jqn%3DuV8powdhmvfD7%3D4ouE8w%40mail.gmail.com
> 
> .
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4DB5DF59-AB23-460B-858C-E7C2B22D8598%40gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK-JoTQ9LxP%2B37VtbjFyRFZEE1PKxhR9nSKw3Xgjkh-M2hjFCQ%40mail.gmail.com.


Re: Django River - ModuleNotFoundError: No module named 'river'

2019-09-01 Thread Kean
Hi Gil,

Thank you for the response.
In the first step, I closed the venv, then installed river, (please see process 
below)
This is when I get the issue of Module not found.

please clarify, are you saying solution is to install django-river with venv 
active and then it will work?
would I need to unistall the current instance of django-river firs,t and then 
re-install django-river wihen venv active?

Best,

K

On 1 Sep 2019, at 22:05, Gil Obradors  wrote:

> Hi,
> 
> 
> If you deactivate ( close?) venv, and then you install with pip3, it will be 
> installet to system.
> If you are using venv, pip3 with venv activated
> 
> 
> Bests djangos,
> 
> 
> 
> 
> Missatge de Kean  del dia dg., 1 de set. 2019 a les 21:56:
> Hi,
> 
> New to Django, but can't seem to get django to run the module.
> The process I followed:
> 
> Process.
> 
> 1) Closed venv
> 2) shell: pip3 install django-river 
> 3) Add 'river' to Installed_apps in settings.py
> 
> Please can anyone advise if they have seen this issue before and how resolved?
> 
> Best,
> 
> Kean 
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/bdb4011d-a896-4bc7-b968-45719c8b9e4f%40googlegroups.com.
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAK-JoTQRf%3DZ%2BV6nXa%3DeTDR%3DLU6jqn%3DuV8powdhmvfD7%3D4ouE8w%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4DB5DF59-AB23-460B-858C-E7C2B22D8598%40gmail.com.


Re: Help with Django

2019-09-01 Thread Gil Obradors
Welcome @Elmaco7
You're in the right side!

When you understand this tutorial, you will be prepared to start designing
your project, with the help of thousands of more advanced online tutorials

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


Good luck!


Missatge de Gabriel Araya Garcia  del dia dg.,
1 de set. 2019 a les 22:36:

> There are millions tutorials that you can read step by step. I am also new
> in django, but i was long six month study by myself  and I've achieved
> build a project.
>
>
> El dom., 1 sept. 2019 a las 14:51, Elmaco7 ()
> escribió:
>
>> Hello, I'm new and it's the first time that I use Django.
>> I should create a site with a database containing Students, exams and
>> grades.
>> Furthermore I should give the possibility to insert a student and to know
>> how many exams he has given and also to insert an exam and know which
>> students have passed it.
>> Can someone help me?
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/8858e1b6-0448-43da-a495-5e314cf5b220%40googlegroups.com
>> 
>> .
>>
>
>
> --
> Gabriel Araya Garcia
> GMI - Desarrollo de Sistemas Informáticos
> 99.7721.15.70
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKVvSDCBGk%3DfohLuqM76uZn%2BaQpjRMwuCfA3q0YTYDVQOYSu_Q%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK-JoTR2P_dWk4f0SB4LADKYZsRVFegMeLb2Zu0tSZdFp-5fzw%40mail.gmail.com.


Re: Django River - ModuleNotFoundError: No module named 'river'

2019-09-01 Thread Gil Obradors
Hi,


If you deactivate ( close?) venv, and then you install with pip3, it will
be installet to system.
If you are using venv, pip3 with venv activated


Bests djangos,




Missatge de Kean  del dia dg., 1 de set. 2019 a les
21:56:

> Hi,
>
> New to Django, but can't seem to get django to run the module.
> The process I followed:
>
> Process.
>
> 1) Closed venv
> 2) shell: pip3 install django-river
> 3) Add 'river' to Installed_apps in settings.py
>
> Please can anyone advise if they have seen this issue before and how
> resolved?
>
> Best,
>
> Kean
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/bdb4011d-a896-4bc7-b968-45719c8b9e4f%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK-JoTQRf%3DZ%2BV6nXa%3DeTDR%3DLU6jqn%3DuV8powdhmvfD7%3D4ouE8w%40mail.gmail.com.


Re: Call a URLpattern via POST from a Django view through HttpResponseRedirect

2019-09-01 Thread Gil Obradors
Maybe the solution is here

https://docs.djangoproject.com/en/2.2/ref/urlresolvers/#django.core.urlresolvers.reverse
https://stackoverflow.com/questions/13202385/django-reverse-with-arguments-and-keyword-arguments-not-found

Add a name at this view, and return a reverse with kwargs


Good luck


Missatge de Most. Runa  del dia dg., 1 de set. 2019
a les 22:44:

> now i am hot
>
> On Friday, June 14, 2019 at 4:15:51 AM UTC-7, Rohit Thapliyal wrote:
>>
>> Here's the Django view:
>> def get_date(request):
>> if request.method == 'POST':
>> form = DateForm(request.POST)
>> if form.is_valid():
>> date = form.cleaned_data['date']
>> print(type(date))
>> return HttpResponseRedirect('schedule/{date}')
>>
>> else:
>> form = DateForm()
>>
>> return render(request, 'app/date.html', {'form': form})
>>
>> Here is the urls.py file:
>> from django.urls import path
>> from . import views
>>
>> urlpatterns = [
>> path('', views.get_date),
>> path('schedule/', views.get_slot),
>> ]
>>
>>
>> *I want to hit the date URL via the get_date view. But this results in
>> error.*
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/670b9fef-8871-4a18-b452-c436d5422f34%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK-JoTTKQo0_b97MFcDO%2B1eLQFT7EMPxguqYVyfwo-Xr23%2Be%2BQ%40mail.gmail.com.


Re: Call a URLpattern via POST from a Django view through HttpResponseRedirect

2019-09-01 Thread Most. Runa
now i am hot

On Friday, June 14, 2019 at 4:15:51 AM UTC-7, Rohit Thapliyal wrote:
>
> Here's the Django view:
> def get_date(request):
> if request.method == 'POST':
> form = DateForm(request.POST)
> if form.is_valid():
> date = form.cleaned_data['date']
> print(type(date))
> return HttpResponseRedirect('schedule/{date}')
>
> else:
> form = DateForm()
>
> return render(request, 'app/date.html', {'form': form})
>
> Here is the urls.py file:
> from django.urls import path
> from . import views
>
> urlpatterns = [
> path('', views.get_date),
> path('schedule/', views.get_slot),
> ]
>
>
> *I want to hit the date URL via the get_date view. But this results in 
> error.*
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/670b9fef-8871-4a18-b452-c436d5422f34%40googlegroups.com.


Re: Help with Django

2019-09-01 Thread Gabriel Araya Garcia
There are millions tutorials that you can read step by step. I am also new
in django, but i was long six month study by myself  and I've achieved
build a project.


El dom., 1 sept. 2019 a las 14:51, Elmaco7 ()
escribió:

> Hello, I'm new and it's the first time that I use Django.
> I should create a site with a database containing Students, exams and
> grades.
> Furthermore I should give the possibility to insert a student and to know
> how many exams he has given and also to insert an exam and know which
> students have passed it.
> Can someone help me?
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8858e1b6-0448-43da-a495-5e314cf5b220%40googlegroups.com
> 
> .
>


-- 
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKVvSDCBGk%3DfohLuqM76uZn%2BaQpjRMwuCfA3q0YTYDVQOYSu_Q%40mail.gmail.com.


Re: styling tables in django

2019-09-01 Thread Kean
Thanks Jani,

I will look at the tutorial.

Best,

K
On 1 Sep 2019, at 11:17, Jani Tiainen  wrote:

> Hi.
> 
> Templates are just a text and very common thing is to render templates as 
> html.
> 
> So there is no magic involved what comes to styling. It is just CSS which 
> would make your tables styled. And that is beyond Django.
> 
> If you want to use CSS file as included as a link in html header part there 
> exists small magic which comes into play  - static files.
> 
> Django Girls tutorial also have quite nice part about styling that you might 
> want to read.
> 
> If
> 
> su 1. syysk. 2019 klo 1.52 Kean  kirjoitti:
> Hi,
> 
> New to Django, appreciate the guidance,
> 
> I'm looking to style template so both header and data records are note 
> wrapped.
> please see current setup.
> 
> Please can anyone help with the template code, appreciate, it's not quite 
> django, but more bootstrap4 django.
> 
> Best,
> K
> 
> 
> 
> 
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/ec35ddf7-12ff-47cc-a41e-4b6736faed22%40googlegroups.com.
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAHn91ofTehEXZqyKyOpO_cXAh4MgWuiz624W%3DCQQW_aW35Q0UA%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6B00615B-B6CD-4824-AF84-F6F0FE64A74D%40gmail.com.


Django River - ModuleNotFoundError: No module named 'river'

2019-09-01 Thread Kean
Hi,

New to Django, but can't seem to get django to run the module.
The process I followed:

Process.

1) Closed venv
2) shell: pip3 install django-river 
3) Add 'river' to Installed_apps in settings.py

Please can anyone advise if they have seen this issue before and how 
resolved?

Best,

Kean 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bdb4011d-a896-4bc7-b968-45719c8b9e4f%40googlegroups.com.


Help with Django

2019-09-01 Thread Elmaco7
Hello, I'm new and it's the first time that I use Django.
I should create a site with a database containing Students, exams and 
grades.
Furthermore I should give the possibility to insert a student and to know 
how many exams he has given and also to insert an exam and know which 
students have passed it.
Can someone help me?
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8858e1b6-0448-43da-a495-5e314cf5b220%40googlegroups.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Ryan Gedwill
My favorite is django-book.

I used it as a reference for 2 years after I first started using Django.

Ryan Gedwill

> On Sep 1, 2019, at 7:09 AM, WebTrainingRoom Online 
>  wrote:
> 
> Hi!
> you may find this useful 
> https://www.webtrainingroom.com/python/django-project  
> 
> Thanks 
>  
> 
>> On Sun, Sep 1, 2019 at 7:07 PM Jorge Luis Callalle Torres 
>>  wrote:
>> Hi, I'm new django. I want to learn Django.  What's the first step
>> What advice you could give me.
>> Any course, resources, or books
>> 
>> thanks a lot friends
>> 
>> -- 
>> Jorge Luis Callalle Torres
>> 5359480 / 934835047
>> 
>> 
>> 
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com.
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAGOwOh8VaEFSM9j4gtSwQTfW7mi2%2BnfpMp7COVGPMrYjnqaCeg%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/84D31B51-1D4B-489F-BFDD-2C7EA3D0BED6%40gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread WebTrainingRoom Online
Hi!
you may find this useful
https://www.webtrainingroom.com/python/django-project

Thanks


On Sun, Sep 1, 2019 at 7:07 PM Jorge Luis Callalle Torres <
jlcalla...@gmail.com> wrote:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGOwOh8VaEFSM9j4gtSwQTfW7mi2%2BnfpMp7COVGPMrYjnqaCeg%40mail.gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Guz Man

>
> Hi Jorge,
>

I recommend you some sources (I assume that you already know Python):

1. Corey Schafer's YouTube tutorial: 
https://www.youtube.com/watch?v=UmljXZIypDc=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p
2. William Vincent's introductory book: https://djangoforbeginners.com/

With these two you'll have more than enough to start.


thanks a lot friends
>
> -- 
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9d28714d-6e18-4d22-b04a-5359458d64ed%40googlegroups.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Tosin Ayoola
Read 2 scoop of django,  alongside django two with example, have your
django documentation handy u will need it & I also have django tutorial
series,  I'm started yesterday,  with all that u will b good to go

On Sep 1, 2019 14:37, "Jorge Luis Callalle Torres" 
wrote:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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 view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs
> 3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHLKn73zVcNLFr4SVHQ-s_gz_b-jAmaLx7vvrXrgzZBb1E8DEw%40mail.gmail.com.


Re: Please help me to solve the error

2019-09-01 Thread Gabriel Araya Garcia
Manas:
Recuerda que existen dos  urlpatterns, una exterior y otra que está en la
carpeta de tu APLICACION, ojo con eso. La exterior es la que direcciona al
ADMIN y la otra es la que define la ubicacion de las URLS de tu aplicacion,
yo creo que esta ultima no la has construido.

Keep in mind that there are two URLPATTERNS one exterior and the other
inside of your aplication (app). The exterior give us the address to ADMIN
and the other is where will be all PATH's of your project.

gabrielaraya2...@gmail.com


El dom., 1 sept. 2019 a las 9:37, Manas Sanas ()
escribió:

> There is an error when i add url to url.py. The url.py file is as follow-
> from django.contrib import admin
> from django.urls import path, include
>
>
> urlpatterns = [
> path('admin/', admin.site.urls),
> path('polls/', include('polls.urls')),
> ]
> when i run the code in terminal : 'python manage.py runserver' ; then the
> follwing error is displayed in the terminal -
>
> django.core.exceptions.ImproperlyConfigured: The included URLconf ' 'polls.urls' from
> 'C:\\Users\\Administrator\\PycharmProjects\\website2\\mysite\\polls\\urls.py'>'
> does
>  not appear to have any patterns in it. If you see valid patterns in the
> file then the issue is probably caused by a circular import.
>
> Please help me to solve the error
>
> Regards,
> Django user
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e77ae50b-dbdb-447a-9e91-b04e996197c9%40googlegroups.com
> .
>


-- 
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKVvSDB-O67cC51sGeD602Fyh_78HH_yxO8p42k67c8hho%3DBLw%40mail.gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Gabriel Araya Garcia
Jorge Luis:
La clave para comenzar, es meterte en los tutoriales, Por ejemplo y si te
encuentras que las rutas se construyen con PATH, entonces es un tutorial
moderno. En caso contrario, te van a sugerir comandos e instrucciones que
están obsoletas y vas a intentar llevarlas a cabo y no te funcionaran, y te
frustarás, etc.etc.
Yo tambien soy nuevo en esto, y he logrado ir construyendo un sistema he
implementandole funcionalidades y validaciones con JS.
Que te vaya bien

gabrielaraya2...@gmail.com



El dom., 1 sept. 2019 a las 9:37, Jorge Luis Callalle Torres (<
jlcalla...@gmail.com>) escribió:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> 
> .
>


-- 
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKVvSDAi%2BG2M2EmMbQD8UUZfP6GR8KssAqBj9tJaZRLpE-gtFg%40mail.gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Gabriel Araya Garcia
Work with the last version of python and django. Take care about the old
sintaxis. The new sintaxis is more easy.

have a good day
gabrielaraya2...@gmail.com


El dom., 1 sept. 2019 a las 9:37, Jorge Luis Callalle Torres (<
jlcalla...@gmail.com>) escribió:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> 
> .
>


-- 
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKVvSDD9nx91uvGTbXtcgJM9N5BHzpRVN8j1H39JpK2t2hpDxw%40mail.gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Gil Obradors
I started with django official tutorial :
https://docs.djangoproject.com/en/2.2/intro/tutorial01/

Nice to start APPs, and continue with admin customizations.


Welcome and good luck!

Missatge de Jorge Luis Callalle Torres  del dia dg.,
1 de set. 2019 a les 15:37:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK-JoTSfi2eitmgZ7CCrJZ1oFhDpTVN1wZ4WGw0bLHtArxbigQ%40mail.gmail.com.


Re: Please help me to solve the error

2019-09-01 Thread Sebastian Jung
Hello,

You must create another url.py under your App polls.

Regards

Manas Sanas  schrieb am So., 1. Sep. 2019, 15:37:

> There is an error when i add url to url.py. The url.py file is as follow-
> from django.contrib import admin
> from django.urls import path, include
>
>
> urlpatterns = [
> path('admin/', admin.site.urls),
> path('polls/', include('polls.urls')),
> ]
> when i run the code in terminal : 'python manage.py runserver' ; then the
> follwing error is displayed in the terminal -
>
> django.core.exceptions.ImproperlyConfigured: The included URLconf ' 'polls.urls' from
> 'C:\\Users\\Administrator\\PycharmProjects\\website2\\mysite\\polls\\urls.py'>'
> does
>  not appear to have any patterns in it. If you see valid patterns in the
> file then the issue is probably caused by a circular import.
>
> Please help me to solve the error
>
> Regards,
> Django user
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e77ae50b-dbdb-447a-9e91-b04e996197c9%40googlegroups.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mzi%3D-s6a8B6oVr8Cte6DT0Sb5r%2BL8paW9oBG4wc4sqTgg%40mail.gmail.com.


Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Jorge Luis Callalle Torres
Hi, I'm new django. I want to learn Django.  What's the first step
What advice you could give me.
Any course, resources, or books

thanks a lot friends

-- 
*Jorge Luis Callalle Torres*
5359480 / 934835047

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com.


Please help me to solve the error

2019-09-01 Thread Manas Sanas
There is an error when i add url to url.py. The url.py file is as follow-
from django.contrib import admin
from django.urls import path, include


urlpatterns = [
path('admin/', admin.site.urls),
path('polls/', include('polls.urls')),
]
when i run the code in terminal : 'python manage.py runserver' ; then the 
follwing error is displayed in the terminal -

django.core.exceptions.ImproperlyConfigured: The included URLconf '' 
does
 not appear to have any patterns in it. If you see valid patterns in the file 
then the issue is probably caused by a circular import.

Please help me to solve the error

Regards, 
Django user

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e77ae50b-dbdb-447a-9e91-b04e996197c9%40googlegroups.com.


Re: styling tables in django

2019-09-01 Thread Jani Tiainen
Hi.

Templates are just a text and very common thing is to render templates as
html.

So there is no magic involved what comes to styling. It is just CSS which
would make your tables styled. And that is beyond Django.

If you want to use CSS file as included as a link in html header part there
exists small magic which comes into play  - static files.

Django Girls tutorial also have quite nice part about styling that you
might want to read.

If

su 1. syysk. 2019 klo 1.52 Kean  kirjoitti:

> Hi,
>
> New to Django, appreciate the guidance,
>
> I'm looking to style template so both header and data records are note
> wrapped.
> please see current setup.
>
> Please can anyone help with the template code, appreciate, it's not quite
> django, but more bootstrap4 django.
>
> Best,
> K
>
>
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ec35ddf7-12ff-47cc-a41e-4b6736faed22%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91ofTehEXZqyKyOpO_cXAh4MgWuiz624W%3DCQQW_aW35Q0UA%40mail.gmail.com.