Git Product home page Git Product logo

Comments (14)

Tyrdall avatar Tyrdall commented on August 16, 2024

@poeticabdul I ran into this error a few days before. This appears if a model has a foreign key to a user and if there is also a GenericRelation to an object, which has also a foreign key to a user. Quite confusing, eh? =)

Well, this line throws the error. https://github.com/bitmazk/django-review/blob/master/review/models.py#L56

I will try to fix it the next days.

from django-review.

Tyrdall avatar Tyrdall commented on August 16, 2024

Allright, investigated. Simply install this app here, add generic_positions to your INSTALLED_APPS and it won't appear again: https://github.com/bitmazk/django-generic-positions

I posted more information to: django-mptt/django-mptt#305

from django-review.

poeticabdul avatar poeticabdul commented on August 16, 2024

Please the error is still present despite installing and adding generic_positions to my installed apps.

from django-review.

Tyrdall avatar Tyrdall commented on August 16, 2024

Can you paste your installed apps settings please?

from django-review.

poeticabdul avatar poeticabdul commented on August 16, 2024

INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'south',
'promo',
'review',
'hvad',
'haystack',
'easy_thumbnails',
'allauth',
'allauth.account',
'allauth.socialaccount',
'allauth.socialaccount.providers.facebook',
'allauth.socialaccount.providers.twitter',
'storages',
'generic_positions',
)

from django-review.

Tyrdall avatar Tyrdall commented on August 16, 2024

Mhm strange, please add 'user_media',, too and try again.

from django-review.

poeticabdul avatar poeticabdul commented on August 16, 2024

don't i need to install user_media?

from django-review.

dkaufhold avatar dkaufhold commented on August 16, 2024

django-user-media is installed along with django-review.

https://github.com/bitmazk/django-review/blob/master/setup.py#L56

from django-review.

poeticabdul avatar poeticabdul commented on August 16, 2024

this is the error i get now after adding user_media to my installed apps:

ProgrammingError at /admin/review/review/

relation "user_media_usermediaimage" does not exist
LINE 1: ...mb_w", "user_media_usermediaimage"."thumb_h" FROM "user_medi...

from django-review.

dkaufhold avatar dkaufhold commented on August 16, 2024

Now you need to execute the south migrations for django-user-media by doing ./manage.py migrate user_media.

from django-review.

poeticabdul avatar poeticabdul commented on August 16, 2024

it worked. Thanks so much

from django-review.

sarfrajimpinge avatar sarfrajimpinge commented on August 16, 2024

Add a line in documentation also to migrate the user_media app. I got this error and after reading the comments got to know that i had to migrate the user_media. Please mention it in documentation.

from django-review.

Tyrdall avatar Tyrdall commented on August 16, 2024

@sarfrajimpinge Done.

from django-review.

sarfrajimpinge avatar sarfrajimpinge commented on August 16, 2024

Thanks :)

from django-review.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.