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",

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

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

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,

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

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

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

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

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'] >

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

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

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

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

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 > > >>

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,

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

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

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

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

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

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

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 = [ >

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

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

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