Re: Creating a new Django project, Stuck with the very first steps

2020-03-24 Thread Akinfolarin Stephen
to create your first django project first install python on your sysytem after that you check if you have pip on your sysytem of course it will be there to check use ths command: pip --version after that install a virtual environment in case you don't know what virtual environment is it help

Re: Problem with migrations order

2020-03-24 Thread Akinfolarin Stephen
make sure you tell django that you have make changes the by running this python manage.py makemigrations after that enter python manage.py migrate it will automatically update your database On Tuesday, March 24, 2020 at 7:36:31 PM UTC+14, Yves de Champlain wrote: > > Hi > > I added a new app

Re: need assistant

2020-10-15 Thread Akinfolarin Stephen
Hi will be willing to colaborate On Thu, Oct 15, 2020, 16:38 Noel Simela wrote: > Hi, what is the nature of your projects? > > On Thu, 15 Oct 2020, 17:01 ericki...@gmail.com > wrote: > >> hello guys am new at Django , i have couple of projects for Django and >> pyside2 if anyone is willing to

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Akinfolarin Stephen
tests >>> test_views.py >>> __init__.py >>> admin.py >>> apps.py >>> cron.py >>> Forms.py >>>functions.py >>>mod

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-15 Thread Akinfolarin Stephen
First I will like you to tell me the folder where test.py is and views.py On Fri, Oct 16, 2020, 06:27 Salima Begum wrote: > Hi all, > > I have written test case for views for details page. Here is below code I > have written > > ``` > from django.test import RequestFactory > from django.urls

Re:

2020-08-19 Thread Akinfolarin Stephen
Yes you have to understand some basic things in other to work with it effectivelg On Wed, Aug 19, 2020, 15:05 tejas padghan wrote: > Only basic .go ahead > > On Wed, 19 Aug 2020, 7:01 pm Suraj Kumar, > wrote: > >> Hello Django Users, >> >> >> I want to know there is any need of knowledge

Re: could you help me to solve this problem? ☹☹

2020-09-29 Thread Akinfolarin Stephen
ango.contrib.auth.password_validation.MinimumLengthValidator', > > }, > > { > > 'NAME': > 'django.contrib.auth.password_validation.CommonPasswordValidator', > > }, > > { > > 'NAME': > 'django.contrib.auth.password_validatio

Re: Deploy on heroku with Geodjango/ postgis

2020-05-27 Thread Akinfolarin Stephen
On Thursday, May 28, 2020 at 2:45:30 AM UTC+14, Samuel Nogueira wrote: > > 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

Re: function model which generate a code for model field

2020-05-27 Thread Akinfolarin Stephen
i feel in your last session you are trying to concatenate a string and an integer use the int function to convert it to string then the number will show On Monday, May 25, 2020 at 5:48:29 AM UTC+14, Anselme SERI wrote: > > from django.db import models >> >> >> def codeid(): >> lastid =

Re: django debug settings

2020-06-01 Thread Akinfolarin Stephen
can i see your settings.py On Tue, Jun 2, 2020 at 6:51 AM Alba wrote: > I need to change the settings to debug = false but when I enter > *server_name* > . > webfaction.com, I get an error "server IP address could not be found."

Re: django debug settings

2020-06-01 Thread Akinfolarin Stephen
On Tuesday, June 2, 2020 at 6:51:33 AM UTC+14, Alba wrote: > > I need to change the settings to debug = false but when I enter > *server_name* > . > webfaction.com, I get an error "server IP address could not be found." > How

Re: Restarting servers in development

2020-10-26 Thread Akinfolarin Stephen
The reason why it is so is because of the browser caching capabilities when the browser see that you are trying to visit a page you visited previously it will load it from the cache if you want it to display the current content press CTRL F5 and you will your newly added content On Mon, Oct 26,

Re: file format changer

2020-08-01 Thread Akinfolarin Stephen
thanks for your reply On Sun, Aug 2, 2020 at 7:35 AM John McClain wrote: > Might make sense to convert images to different formats if you have tons > of them, so not exactly a bad question! > > Before crushing the guy maybe you could ask what the use case is! > > > Sent from my iPhone > > > On

file format changer

2020-08-01 Thread Akinfolarin Stephen
hello guys i want to build a software that enables me to chnage file from one format to another please do you know any package i can use or any online or any material that can help me achieve this -- You received this message because you are subscribed to the Google Groups "Django users"

Re: ERROR

2020-08-13 Thread Akinfolarin Stephen
your user variable is not define try to define it like is not referencing anything On Fri, Aug 14, 2020 at 11:07 AM traore arouna wrote: > ok my js file is > > > var updateBtns = document.getElementsByClassName('update-cart') > > for(var i = 0; i < updateBtns.length; i++) > { >

Re: How to add domain from GoDaddy to Heroku

2020-06-30 Thread Akinfolarin Stephen
at what point where you stuck can you share may be i can be of help On Tue, Jun 30, 2020 at 12:16 PM John McClain wrote: > I was able to do so Micah > > it took almost a day to propagate though. How long has it been since you > did the redirects > > > On Mon, 29 Jun 2020 at 22:39, Micah Beckman

Re: How to get names of columns from QuerySet without executing it

2020-07-04 Thread Akinfolarin Stephen
you can filter out the column you want by using [name of model].objects.get(filter=[name of the column you want]) On Sun, Jul 5, 2020 at 10:12 AM Eugene Kulak wrote: > How to get names of columns from QuerySet without executing it? > If it is not possible what would be the most easier way to

Re: Unable to import HTML code

2020-07-05 Thread Akinfolarin Stephen
i guess the problem is syntax error in your load static at the top of the page put a spce between the percentage sign and the load below is a clearer explanation: your load static looks like this {%load static %} then change it to this {% load static %} the difference is that there is space

Re: union in get_initial_queryset in datatable

2020-06-29 Thread Akinfolarin Stephen
sorry don't get you can you be more clear with your error On Tue, Jun 30, 2020 at 4:12 AM Rajshree Some wrote: > list=Model1.objects.filter( > > reservation__in=Model.objects.filter(resource__in=resources).union( > Model2.objects.filter( > >

Re: django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread Akinfolarin Stephen
hmm however will might not be able to really understand your problem but what me i feel could help is just search for this keyword [how to delete a model in django] google will always give you an edge On Tue, Jun 30, 2020 at 10:07 AM Arpana Mehta wrote: > You are right sir. Perhaps, if we could

Re: CSRF verification failed, 'CSRF token missing or incorrect'

2020-06-28 Thread Akinfolarin Stephen
can i see the error log On Mon, Jun 29, 2020 at 7:06 AM Shinster wrote: > When I try to submit a Django form with username and password, I get this > error message: > 'CSRF token missing or incorrect'. > > The CSRF token is not missing at least. > Here is where I included it in my form in my

Re: ERROR

2020-08-14 Thread Akinfolarin Stephen
can you send the code on github so i can help you debug properly On Fri, Aug 14, 2020 at 11:42 PM Kasper Laudrup wrote: > On 14/08/2020 00.29, traore arouna wrote: > > how define it > > > > https://www.wikihow.com/Declare-a-Variable-in-Javascript > > -- > You received this message because you

Re: Hiring react developers

2021-05-13 Thread Akinfolarin Stephen
@John McCain sent you an email On Thu, May 13, 2021, 15:01 John McClain wrote: > because the issue I am having is directly related to React developers! So, > in the post I thought I was simply speaking directly to developers who were > in fact, React developers! And in kind, was hoping that

Re: Hiring react developers

2021-05-02 Thread Akinfolarin Stephen
Am a react developer .Am interested On Mon, May 3, 2021 at 6:11 AM vineet daniel wrote: > Hi Group, > > Any one interested in Frontend development role using react? > > Please let me know. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group.