Re: __init__() got an unexpected keyword argument 'on delete' when make migrations

2021-12-05 Thread Samuel Nogueira
Please, can you take some prints of your models? Em dom., 5 de dez. de 2021 12:34, Khánh Hoàng escreveu: > Hi everyone, I am new to programming, more than 4 months, I had an issue > when making migrations for my apps. > > I run :" python manage.py makemigrations " and I got a error. > It

RES: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread samuel nogueira bacelar
s Have you tried Bootstrap's class="text-lowercase"? On Tue, May 18, 2021, 8:23 AM Samuel Nogueira <hu3mule...@gmail.com> wrote:I am using bootstrap, so my CSS shouldn't go wrong  Em ter., 18 de mai. de 2021 às 10:04, 712189512 <gabrielstonede...@gmail.com> escreveu:It’s not d

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Samuel Nogueira
s from dynamically instead of >> hard-coding it? >> >> *Best Regards,* >> *David O. T.* >> >> >> >> >> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar < >> hu3mule...@gmail.com> wrote: >> >>> Hi guys! >>

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Samuel Nogueira
I didnt tried this yet, maybe should. Em ter., 18 de mai. de 2021 às 09:55, David Tobrise escreveu: > What happens if you try outputting the units from dynamically instead of > hard-coding it? > > *Best Regards,* > *David O. T.* > > > > > On Tue, May 18, 2021 at 1

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Samuel Nogueira
ote: > >> What happens if you try outputting the units from dynamically instead of >> hard-coding it? >> >> *Best Regards,* >> *David O. T.* >> >> >> >> >> On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar < >> hu3mule...@gm

how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread samuel nogueira bacelar
Hi guys!I have something that appears to be a simple problem but I didn’t find anything useful anywhere. My problem is that my text in a template next to a Django tag keeps auto capitalizing but I don’t want this to happen. In the image above you can see that m³/ano and m² is not capitalized at

RES: Filtering combobox according to a project list created by logged user

2020-10-26 Thread Samuel Nogueira
.-Samuel Nogueira Bacelar GitHub: https://github.com/SamuelNoB Linkedin: https://www.linkedin.com/in/samuel-nogueira-87800b1aa/ - De: GabrielEnviado:domingo, 25 de outubro de 2020 21:45Para

RES: testing class based generic views

2020-10-26 Thread Samuel Nogueira
I don’t know a test tutorial, but I think you can get some help in the Django docs. https://docs.djangoproject.com/en/3.1/topics/testing/tools/  -Samuel Nogueira Bacelar GitHub: https://github.com

RES: How to connect django and React js but getting Error

2020-10-26 Thread Samuel Nogueira
Also you should follow Farai’s recommendation and use DRF in your applicaiton. -Samuel Nogueira Bacelar GitHub: https://github.com/SamuelNoB Linkedin: https://www.linkedin.com/in/samuel-nogueira

RES: How to connect django and React js but getting Error

2020-10-26 Thread Samuel Nogueira
Please can you show me your views.py? -Samuel Nogueira Bacelar GitHub: https://github.com/SamuelNoB Linkedin: https://www.linkedin.com/in/samuel-nogueira-87800b1aa

RES: Django learning source

2020-10-06 Thread Samuel Nogueira
. -Samuel Nogueira Bacelar GitHub: https://github.com/SamuelNoB Linkedin: https://www.linkedin.com/in/samuel-nogueira-87800b1aa/ - De: the_masterEnviado:terça-feira, 6

Best places to learn Software Engineering

2020-10-06 Thread Samuel Nogueira
of that I want to learn it by myself, so I would like to know wich materials and sources are the best to learn about Software Engineering disciplines.  -Samuel Nogueira Bacelar GitHub: https://github.com

RES: Deploying my Django project

2020-09-17 Thread Samuel Nogueira
Hi, heroku is a good choice to deploy your Project.  -Samuel Nogueira Bacelar GitHub: https://github.com/SamuelNoB Linkedin: https://www.linkedin.com/in/samuel-nogueira-87800b1aa

RES: best book for learning django

2020-08-25 Thread Samuel Nogueira
/ -Samuel Nogueira Bacelar GitHub: https://github.com/SamuelNoB Linkedin: https://www.linkedin.com/in/samuel-nogueira-87800b1aa

Update a template

2020-07-28 Thread Samuel Nogueira
that? -Samuel Nogueira Bacelar GitHub: https://github.com/SamuelNoB Linkedin: https://www.linkedin.com/in/samuel-nogueira-87800b1aa

RES: Havingproblemwithdisplay. Appreciate any help!

2020-07-28 Thread Samuel Nogueira
attached) -- only the /admin works, the rest like /about, /btn and /blog cannot be found..On Tuesday, July 28, 2020 at 9:30:01 PM UTC+7, Samuel Nogueira wrote:Your problem with the html is that you probably are accessing via file path, instead try to access via localhostEx: localhost:8000/your-url

RES: Havingproblemwithdisplay. Appreciate any help!

2020-07-28 Thread Samuel Nogueira
server. And this is what I got(picture attached) -- only the /admin works, the rest like /about, /btn and /blog cannot be found..On Tuesday, July 28, 2020 at 9:30:01 PM UTC+7, Samuel Nogueira wrote:Your problem with the html is that you probably are accessing via file path, instead try to access via

RES: Havingproblemwithdisplay. Appreciate any help!

2020-07-28 Thread Samuel Nogueira
Your problem with the html is that you probably are accessing via file path, instead try to access via localhostEx: localhost:8000/your-url De: Phan NguyenEnviado:terça-feira, 28 de julho de 2020 08:45Para: Django usersAssunto: Havingproblemwithdisplay. Appreciate any help! I got no idea how to

RES: RES: Help me pleace

2020-07-23 Thread Samuel Nogueira
Sorry if I took so long.Probably your variable “correo” isn't set up correctly and, instead having another e-mail, your variable is being addressed with your own e-mail De: Nikola TeslaEnviado:quarta-feira, 22 de julho de 2020 17:18Para: django-users@googlegroups.comAssunto: Re: RES: Help me

RES: Help me pleace

2020-07-22 Thread Samuel Nogueira
Please, can you send some screenshots of the code related to your question? De: Nikola TeslaEnviado:quarta-feira, 22 de julho de 2020 14:52Para: django-users@googlegroups.comAssunto: Help me pleace Hi, I'm trying to get the sender's email in the headers of my email (I mean my blog's contact form).

RES: Best Django Rest Framework Tutorial??????

2020-06-12 Thread Samuel Nogueira
Hi!In my personal exprience i’ve been learning throught a udemy course, and it helped me a lot. Maybe it will not be usefull to you since the language is portuguese, but i’m sure you can find some in english or your native language Enviado do Email para Windows 10 De: David ZeaEnviado:sexta-feira,

RES: Geodjango Exception when importing django.contrib.gis.gdal

2020-06-03 Thread Samuel Nogueira
Hi Farook. Are you using sqlite3 as your application database? De: Farook MEnviado:quarta-feira, 3 de junho de 2020 13:46Para: Django usersAssunto: Geodjango Exception when importing django.contrib.gis.gdal I have installed python 3.7.5 64 bit. GDAL 2.4.4 and corresponding python gdal from 

RES: Geodjango Exception when importing django.contrib.gis.gdal

2020-06-03 Thread Samuel Nogueira
Hi Farook. Are you using sqlite as your database?De: Farook MEnviado:quarta-feira, 3 de junho de 2020 13:46Para: Django usersAssunto: Geodjango Exception when importing django.contrib.gis.gdal I have installed python 3.7.5 64 bit. GDAL 2.4.4 and corresponding python gdal from 

RES: Command open postgresql in from cmd in windows

2020-05-31 Thread Samuel Nogueira
right. I'll do that now. On Sat, May 30, 2020, 11:34 PM Samuel Nogueira <hu3mule...@gmail.com> wrote:you just need to specify the username wich you want to use. So type "psql -U postgres", as postgres being your username.  Em sáb., 30 de mai. de 2020 às 18:47, sunday honesty &l

Re: Command open postgresql in from cmd in windows

2020-05-30 Thread Samuel Nogueira
you just need to specify the username wich you want to use. So type "psql -U postgres", as postgres being your username. Em sáb., 30 de mai. de 2020 às 18:47, sunday honesty < honesty202...@gmail.com> escreveu: > Here is it again > > On Sat, May 30, 2020, 10:44 PM

RES: Command open postgresql in from cmd in windows

2020-05-30 Thread Samuel Nogueira
was connected to the internet and also tried it without internet connection. On Sat, May 30, 2020, 10:17 PM Samuel Nogueira <hu3mule...@gmail.com> wrote:Can you send  me more details about the error? A screenshot should be enoughDe: sunday honestyEnviado:sábado, 30 de maio de 2020 15:18Para: django

RES: Command open postgresql in from cmd in windows

2020-05-30 Thread Samuel Nogueira
:39 PM Samuel Nogueira <hu3mule...@gmail.com> wrote:Set path For PostgreSQL in Windows: Searching for env will show Edit environment variables for your accountSelect Environment VariablesFrom the System Variables box click new(to add new path) Include the bin directory of your Post

RES: How to connect Django Logn Sigup API with Flutter

2020-05-30 Thread Samuel Nogueira
Are you using only django? Usually if you want to connect an app with your django backend you might need to use the django rest framework to get the connection De: Anonymous PatelEnviado:terça-feira, 26 de maio de 2020 04:23Para: django-users@googlegroups.comAssunto: How to connect Django Logn

RES: Command open postgresql in from cmd in windows

2020-05-30 Thread Samuel Nogueira
Set path For PostgreSQL in Windows: Searching for env will show Edit environment variables for your accountSelect Environment VariablesFrom the System Variables box click new(to add new path) Include the bin directory of your PostgreSQL installation. then add new path there[for

RES: IntegrityError: NOT NULL constraint failed

2020-05-27 Thread Samuel Nogueira
In your Comment model you have a author field wich is a ForeignKey. The error is pointing exactly to that field, since it is a not null field. To overcome this you must pick the ID of the logged user and set the author field with the user ID. You can do that in your views.py the same way as you

RES: RES: Re: Deploy on heroku with Geodjango/ postgis

2020-05-27 Thread Samuel Nogueira
Sure! Here it is: https://github.com/SamuelNoB/Primeiro-Projeto-Django-REST Sorry if my requirements.txt is messy. I didn’t set properly my venv and it pulled all packages of my system  De: Mujahid AbbasEnviado:quarta-feira, 27 de maio de 2020 19:16Para: Django usersAssunto: RES: Re: Deploy on

Deploy on heroku with Geodjango/ postgis

2020-05-27 Thread Samuel Nogueira
Hi guys. Does anyone have/know a walkthrough for deploying my django application using geodjango and postgres with postgis on heroku? I was struggling with that yesterday until I've given up. I was developing my django app in win10, with python 3.7.7. -- You received this message because you are

RES: Please help me pip install mysqlclient time screenshot image this error

2020-05-26 Thread Samuel Nogueira
In the error shows that you don’t have visual C++ 14.0 installed in your machine, have you already verified if you have it or not? Try to install the especified version and them try the pip command again. Enviado do Email para Windows 10 De: R D SainiEnviado:terça-feira, 26 de maio de 2020

RES: convert Date to milliseconds

2020-05-25 Thread Samuel Nogueira
Hi! before answer you question I would recomend you to give a little fix in your model and your function names. Try to follow the PEP8 style guide for Python, in the guide is recommended using only capitalized words for naming classes with composite names, and function names should be lowercase