the db
and those tables were not in there.
Thanks
Christoph
On Thursday, October 22, 2015 at 11:31:11 PM UTC+2, Mike Dewhirst wrote:
>
> On 22/10/2015 10:40 PM, Christoph Knapp wrote:
> > Hi,
> > I have a legacy database and used "python manage.py inspectdb >
Hi,
I have a legacy database and used "python manage.py inspectdb > models.py"
to create a models.py file. After I modified the file all errors went away
when I makemigrations. This step works without problems on the only app I
have in my project. When I go "python manage.py migrate" I get the
ft.
Christoph
On Wednesday, October 21, 2015 at 1:11:40 PM UTC+2, Christoph Knapp wrote:
>
> Hi,
> I have the same problem.
>
> The models.py file was created by
>
> python manage.py inspectdb > models.py
>
> I just copied it over into my app and modified it. M
mission_id = models.ForeignKey(AuthPermission)
class Meta:
db_table = 'auth_user_user_permissions'
unique_together = ['user_id', 'permission_id']
[code]
On Wednesday, October 21, 2015 at 1:11:40 PM UTC+2, Christoph Knapp wrote:
>
> Hi,
> I have
Hi,
I have the same problem.
The models.py file was created by
python manage.py inspectdb > models.py
I just copied it over into my app and modified it. My output is
readDatabase.AuthGroupPermissions: (models.E012) 'unique_together' refers
to the non-existent field 'group_id'.
readDatabase
5 matches
Mail list logo