delete your existing db and try to create makemigrations and migrate again.
delete all the files in migrations folder also.
You saw this error because your migrations weren't done properly.
On Tue, May 21, 2019 at 4:21 AM 'Stephen Owen' via Django users <
django-users@googlegroups.com> wrote:
> H
Thanks a lot.. @Joe @Mahes
It will help me a lot.
On Tue, 21 May, 2019, 8:14 AM mahesh boini,
wrote:
> Extend AbstractUser class and give that name in settings file like
> AUTH_USER_MODEL=‘appname.modelname’
>
> On Tue, 21 May 2019 at 05:51, Joe Reitman wrote:
>
>> You can customize the user ta
Extend AbstractUser class and give that name in settings file like
AUTH_USER_MODEL=‘appname.modelname’
On Tue, 21 May 2019 at 05:51, Joe Reitman wrote:
> You can customize the user table by extending AbstractUser and add the
> fields you want to add (gender, phone)
>
> I have a custom user examp
Migrate your changes to db
django_session is default django table
In your case django looking for table but the table is not exist in the db.
On Tue, 21 May 2019 at 05:56, Joe Reitman wrote:
> You need to run makemigrations and migrate to create the tables django
> uses.
>
> On Monday, May 20, 2
este grupo es para gente de habla ingles, busca el grupo de habla español,
pero bueno ya probastes esta app
https://github.com/dprog-philippe-docourt/django-qr-code
On Mon, May 20, 2019 at 4:21 PM osman alexander samayoa ramirez <
oasamayo...@gmail.com> wrote:
> muy buenas quisiera que alquien me
You need to run makemigrations and migrate to create the tables django
uses.
On Monday, May 20, 2019 at 5:22:08 PM UTC-5, Stephen Owen wrote:
>
> Hi, all,
> I am creating a blog in Django, following lectures on You Tube.
> Everything was working fine and then an error occurred that I could
>
You can customize the user table by extending AbstractUser and add the
fields you want to add (gender, phone)
I have a custom user example adding age field:
from django.db import models
from django.contrib.auth.models import AbstractUser
class CustomUser(AbstractUser):
age = models.PositiveI
Can you show us the model your trying to migrate?
On Sunday, May 19, 2019 at 9:11:47 PM UTC-5, Yoo wrote:
>
> In Django 2.2, I run makemigrations then migrate. I wait approx. 5-7
> minutes and then I get "Fatal Python error: Cannot recover from stack
> overflow." "Current thread 0x0002094 (most
creo que creaste alguna tabla que pueda que no este colocada en tus apps o
que no esta migrada en la base de datos
El lun., 20 may. 2019 a las 16:21, 'Stephen Owen' via Django users (<
django-users@googlegroups.com>) escribió:
> Hi, all,
> I am creating a blog in Django, following lectures on Yo
muy buenas quisiera que alquien me pudiera ayudar para poder generar qr a
mis empleado y que sea unico para cada uno
--
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 emai
Hi, all,
I am creating a blog in Django, following lectures on You Tube. Everything
was working fine and then an error occurred that I could fathom. So I have
now just started a new project. One accessing localhost, I got the
expected page but when I tried localhost I got this (attached.)
Any
Ok thanks for reply.
On Mon, 20 May, 2019, 5:36 PM Rafael E. Ferrero,
wrote:
> Hello, you must to extend User model... search on google with this
> aproach!!
>
> Cheers!
>
> Rafael E. Ferrero
>
>
> El dom., 19 may. 2019 a las 14:13, Sipum () escribió:
>
>> Hello Friends,
>>
>> I want to customis
django-background-tasks didn't work. i don't know what is the problem. i
was trying to make it work for 2 days and i give up now. i will consider
django-rq thank you :)
Jani Tiainen , 20 May 2019 Pzt, 19:07 tarihinde şunu
yazdı:
> Hi,
>
> There are also other alternatives for background proce
Hi,
There are also other alternatives for background processing than celery.
Like django-rq or django-background-tasks.
ma 20. toukok. 2019 klo 16.14 Chetan Ganji
kirjoitti:
> celery is what you need for this. It is very simple. Just stick to it,
> find some examples on youtube for celery, an
i guess it's my only option now. thx
20 Mayıs 2019 Pazartesi 16:14:26 UTC+3 tarihinde Chetan Ganji yazdı:
>
> celery is what you need for this. It is very simple. Just stick to it,
> find some examples on youtube for celery, and you should get it.
>
> Regards,
> Chetan Ganji
> +91-900-483-4183
>
Hello Ivan... you say Unrelated but I see you have a relation with
VendorGroup... why don't use a ForeignKey?... any way you can use the pipe
charater " | " to concatenate two querysets.
https://simpleisbetterthancomplex.com/tips/2016/06/20/django-tip-5-how-to-merge-querysets.html
Cheers!
Rafae
You could probably check if the plugin has an older version written for
python 2. Otherwise you will need to rewrite it for python 2. But I think
the best way to solve this is to upgrade to Python and not use legacy
python. The end of life of legacy Python is 1/1-2020 - so your application
will onl
Hello Python Community!
I would like to to create a connection between the device(Arduino) and web
server by using the MQTT protocol. As tools, we will use RabbitMQ, Django,
and Django-channels for web socket. The device should communicate to the
server by means of message broker in order to pa
Hi Harish,
Did you commit your changes to git/svn repo after changing the models?
Did they fetch the latest changes from the repo?
Is your db file also in repo?
If yes, there would a table inside the database db.sqlite3, which stores
the information about which migrations were executed.
You have
celery is what you need for this. It is very simple. Just stick to it, find
some examples on youtube for celery, and you should get it.
Regards,
Chetan Ganji
+91-900-483-4183
ganji.che...@gmail.com
http://ryucoder.in
On Mon, May 20, 2019 at 5:42 PM Oguz kagan Olmez
wrote:
> i just started djan
Hi Bredliy,
Run that command.
sudo pip install sqlparse
Serdar EMIRCI
This is a test message , 20 May 2019 Pzt, 05:11
tarihinde şunu yazdı:
> Hi,
>
>
>
> I am new to django and am trying out the tutorial. Get the following error:
>
>1. Create a virtual environment using anaconda
>2.
Hi guys, hope you can help me.
I have 2 models and i want to make a count query on them. I need a count on
how many articles i have in every category.
Models:
class Vendors(models.Model):
id = models.AutoField(db_column='id', primary_key=True, blank=False,
unique=True)
name = models.Cha
Where is your manage.py file?
On Mon, May 20, 2019 at 11:57 AM sagar ninave wrote:
> AttributeError at /admin/ 'WSGIRequest' object has no attribute 'user'
> Request Method: GET Request URL: http://127.0.0.1:8000/admin/
> Django Version: 2.2 Exception Type: AttributeError Excep
i just started django, python and back-end. i want to ask you a question
for my first project. i have functions that creating json file. After that
i am showing that json file on my webpage. But that functions in view take
a lot of time and my webpage doesn't open for like 20-30 seconds. Actuall
In django models i added a new field
in my system its working fine.
but in other systems its showing no migrations to apply
how to solve it without effecting data?
i tried deleting contents of migrations folder except __init__.py
enter code here
but still same error
what is real method to
Hello, you must to extend User model... search on google with this
aproach!!
Cheers!
Rafael E. Ferrero
El dom., 19 may. 2019 a las 14:13, Sipum () escribió:
> Hello Friends,
>
> I want to customise django default user table and which should consist of
> name,phone, email and gender.
> And afte
26 matches
Mail list logo