Create your projectdir manually then inside the projectdir folder (right
click with your mouse and open command window here)
After that continue with Django commands
django-admin startproject ...
On Thu, 03 May 2018 at 07:59, Daisy wrote:
> Thank you very much for your
What is the message that you get when you run Python manage.py runserver
On Tue, 20 Nov 2018 at 20:58, Mohamed Hashi wrote:
> i wrote pip install virtualenv
> and installed
> buy when i do all the steps to start django web
> and i came for python manage.py runserver isnt work
> so and help bro
In your settings, you put the port is 3306 but in the url it’s 8000.
I think the problem is there.
On Thu, 14 Mar 2019 at 12:07, Pedram Badakhchani <
pedrambadakhch...@gmail.com> wrote:
> Hi Anh,
>
> yes, everything works fine, the only problem is once I switched from
> sqlite to mysql,
>
> I am
Are you sure about the directory?
I mean is it “ abcd.setting.hk” or “abcd.settings.hk” ?
On Thu, 18 Apr 2019 at 06:00, ANi wrote:
>
> Hi,
> I divided my settings into different files, but I think it's not working
> on Heroku, here are my code:
>
> # This is abcd/setting/hk.py
> from .base
Hello Davin,
The image is not opening
On Thu, 19 Sep 2019 at 08:35, Davin Pore wrote:
> Seeking for your kind assistance on how to get the value of this using
> nested model on django restapi.
>
> [image: image.png]
> Thank you.
>
> --
> You received this message because you are subscribed to
I’m not sure if I understood your question but for example:
enterprise.type will give you the value of type.
On Thu, 19 Sep 2019 at 10:00, Davin Pore wrote:
> [image: API_Box.JPG]
>
>
> On Thursday, 19 September 2019 14:35:03 UTC+8, Davin Pore wrote:
>>
>> Seeking for your kind assistance on
Use a view.py to add, update or delete data in your model.py
Check ViewSets.
https://www.django-rest-framework.org/api-guide/viewsets/
On Thu, 19 Sep 2019 at 16:20, Marsel Beqiri
wrote:
> Hi, I am working with a Django rest api project. SO i need some help. I
> cant create a update for
I think the problem is incompatibility between django version and python
version.
Install python 3.7 with the latest version of Django
Then try.
On Sun, 22 Sep 2019 at 06:10, Pawan Jha wrote:
> When I run the Command "manage.py runserver" on the command
> prompt(WINDOWS), I get the following
Can you send your settings.py file please.
On Wed, 05 Feb 2020 at 14:30, yazan bader wrote:
> am having new issue when running Django localhost 127.0.0.1:8000 as
> connection getting aborted ,this is new for me as I am working with Django
> from 3 month and cant find solution for it.
>
> below
Pleas provide the code for clickjacking.py
On Mon, 17 Feb 2020 at 14:50, Ernest Thuku wrote:
> Hello guys please help on the error. I have been stuck for days now.
> I am Ernest from Kenya.
> please look into these files below
>
> --
> You received this message because you are subscribed to the
Django Rest Framework is what you need.
Check this series of tutorials.
https://youtu.be/iIqMEflK-HM
The Documentation:
https://www.django-rest-framework.org
On Wed, 11 Mar 2020 at 11:59, Sunday Iyanu Ajayi
wrote:
> Please can someone recommend an api documentation tool that works with
>
to run the server use:
Python manage.py runserver
It would be better if you send a picture of the project files structure.
On Sun, 19 Apr 2020 at 15:22, Ilie Ioana wrote:
> Hi,I'm new with django and python.
> I just strated a new django project in a venv using django 3.0 and seems
> that
quot;/home/ioana.i/Workspace/Ioana/test1/lib/python3.6/site-packages/django/conf/__init__.py",
>> line 61, in _setup
>> % (desc, ENVIRONMENT_VARIABLE))
>> django.core.exceptions.ImproperlyConfigured: Requested setting DEBUG, but
>> settings are not configured. You mus
Your view must return a Jason response and not render a html file.
You should learn Django Rest Framework for that
This is an example here for how your view will look like:
API View
https://youtu.be/-x_Z_V9HXZE
On Mon, 26 Oct 2020 at 13:08, Samuel Nogueira wrote:
> Please can you show me
Truro delete the files inside the migrations folder then run The
makemigrations command then migrate
On Sun, 09 Aug 2020 at 19:58, FIRDOUS BHAT wrote:
> django.db.migrations.exceptions.InconsistentMigrationHistory: Migration
> admin.0001_initial is applied before its dependency
You are filtering by admin ID but you are passing the username not the user
ID
On Wed, 22 Jul 2020 at 19:37, Shishir Jha wrote:
> Did you solve it?
>
> On Wed, 22 Jul 2020, 5:10 pm mishra39076, wrote:
>
>> I wan to fetch logged-in username using request but i am not getting it
>> in
I've experienced this problem many times and the solution is to simply
change the name of the model then do the migration and after that you can
change the model name to the original name and run the migration again, I
think it's a bug in django.
On Sun, Jul 19, 2020 at 8:47 PM Heet Gupta wrote:
Please check this video it might help:
https://youtu.be/mHz6UuDXPE8
On Thu, 10 Dec 2020 at 14:01, narendra...@gmail.com <
narendrathapa...@gmail.com> wrote:
> Hi dear friends,
> Anyone here familiar With DJoser and Simplejwt. I am using it for
> authentication and i got a problem. I can get
please set debug value to True then deploy, that will allow us to see what
is causing the server error
On Sun, Nov 1, 2020 at 12:46 AM programmer 262
wrote:
> hy guys i want to deploy my app on heroku and i having a bad time this is
> the website that i deployed
>
Nothing wrong with the query, the problem is that you are trying to
multiply two values of a different type.
You can fix that by converting the smallInteger value to decimal.
On Mon, 04 Jan 2021 at 23:01, jose angel encinas ramos <
encinasj.an...@gmail.com> wrote:
> Hi everyone, i'm a new in
Have you created a new virtual environment using the new python you
installed?
If not, create a new virtual environment then install the dependencies for
your project then try.
On Thu, 31 Dec 2020 at 20:15, Tarek elgendy wrote:
> I was creating a project using django. And I wanted to change
Watch this video on how to schedule a task or function in your Django
project, I’m sure it will have the answer to your question:
https://youtu.be/t0xHlgWQvAk
On Sat, 12 Jun 2021 at 08:54, Ayser shuhaib
wrote:
> https://youtu.be/t0xHlgWQvAk
>
>
> On Sat, 12 Jun 2021 at 08:53, A
>
> On Sat, 12 Jun 2021 at 08:56, Ayser shuhaib
> wrote:
>
>> Watch this video on how to schedule a task or function in your Django
>> project, I’m sure it will have the answer to your question:
>>
>> https://youtu.be/t0xHlgWQvAk
>>
>>
>> On Sat
https://youtu.be/t0xHlgWQvAk
On Sat, 12 Jun 2021 at 08:53, Ayser shuhaib
wrote:
> Watch this video on how to schedule a task or function in your Django
> project, I’m sure it will have the answer to your question:
>
>
>
>
> On Sat, 12 Jun 2021 at 08:41, Eugene TUYIZERE
&g
Watch this video on how to schedule a task or function in your Django
project, I’m sure it will have the answer to your question:
On Sat, 12 Jun 2021 at 08:41, Eugene TUYIZERE
wrote:
> Thank you for recommendations,
>
> Because I never use this Celery-beat, if possible you can give some
I think you should add __init__.py file inside your apps folder for Django
to see it
On Tue, 18 May 2021 at 17:20, Salima Begum
wrote:
> Hi all,
>
> We initially developed our project with the following folder structure;
>
> [image: old_folder_structure.PNG]
>
> As shown in the above image we
django-rest-auth is still supported, it's not currently receiving updates,
but you can still use it and it has no issues so far.
On Sat, Apr 3, 2021 at 9:39 AM Saad Mrabet wrote:
> Yes it is in fact the bast option possible, thank you !
>
> On Friday, April 2, 2021 at 11:50:55 PM UTC+1 Ryan
Please see this tutorial as it explained how to create a custom user model
and uses django-rest-auth for the (login, logout, signup ...etc)
https://youtu.be/GdfLXHhNABE
On Sat, 03 Apr 2021 at 00:50, Ryan Nowakowski wrote:
> I don't have a ton of experience with it but when a question includes
This is a great YouTube channel to learn about DRF
https://youtube.com/channel/UCh9biyYSlMzM9T3Xtxmglww
Also see this Udemy course
https://www.udemy.com/course/python-django-rest-api/?referralCode=662DCC014E91DF235623
On Mon, 12 Apr 2021 at 16:44, Aniket Balkhande <
Make sure you create the user objects in the database before loading the
books data
On Fri, 23 Apr 2021 at 14:02, Nzekwe Isaac wrote:
> I think there's a problem with your database. Try deleting your dbsqlite
> database and run migrations a again.
>
> On Fri, 23 Apr 2021, 12:50 Ejike Enyinnaya,
What you can do is just change the name of the model then run the migration
after that change it back to the original name and run the migration again.
This what I do when facing such problem
On Mon, 19 Jul 2021 at 08:41, Salima Begum
wrote:
> Hi Abhishek, What you suggested will work but I
What you can do is just change the name of the model then run the migration
after that change it back to the original name and run the migration again.
This what I do when facing such problem
On Mon, 19 Jul 2021 at 07:07, Salima Begum
wrote:
> Hi all,
>
> I have added a new column to the
You probably have a Integer field in one of your models with max_length
arguments, so remove that argument and that should solve the problem
On Thu, 02 Jun 2022 at 01:37, Mike Dewhirst wrote:
> On 2/06/2022 3:00 am, Paras Kashyap wrote:
>
> TypeError: Field.__init__() got an unexpected keyword
To help understand more the problem, would you please explain why adding an
extra field to your models to be used as a foreign key, is not an option?
On Thu, 05 May 2022 at 15:36, 'dtdave' via Django users <
django-users@googlegroups.com> wrote:
> We receive data from various third parties in
ng the foreign key to the account manager this would impact
> on the import?
>
> On 5 May 2022, at 14:51, Ayser shuhaib wrote:
>
>
> To help understand more the problem, would you please explain why adding
> an extra field to your models to be used as a foreign key, is not an option?
&g
Oi Rafael
I’m sure this tutorial will help you:
https://youtu.be/GdfLXHhNABE
On Mon, 24 Oct 2022 at 23:14, Rafael Noronha
wrote:
> Hello guys,
> I'm not advanced in Django and would like to know how and if it's possible
> to do it.
>
> I need to override Django's user model, and change the
36 matches
Mail list logo