Petr Dlouhý
5f3eba8f1c
make datamigration for non-unique slugs, test the migration
2024-05-22 11:09:42 +02:00
Petr Dlouhý
841e14a17c
make Category.slug unique
2024-05-22 11:09:42 +02:00
pre-commit-ci[bot]
1e6bbad09b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-23 11:22:01 +01:00
pre-commit-ci[bot]
1d7654e5e1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-12-11 13:29:35 +00:00
pre-commit-ci[bot]
5961d6b80f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-12-05 14:34:46 +00:00
Carlos Cesar Caballero Díaz
3dbc96bf36
include missing migration
2020-05-17 15:03:33 -04:00
Brent O'Connor
dd201de641
Add missing migrations
2020-03-06 11:07:29 -06:00
Brent O'Connor
366ff74619
Made updates to get everything working with Django 2
2017-12-26 11:27:42 -06:00
Brent O'Connor
d5bec42a09
Added a missing migration
2017-02-17 11:24:48 -06:00
Brent O'Connor
6e54f1635d
b'' doesn't work under Python 3 in a migration file
2016-02-11 14:53:20 -06:00
Brent O'Connor
c5c459fe42
Ran the 2to3 script 2to3 -w .
2016-02-10 11:47:30 -06:00
Corey Oordt
c6b7cdd520
Changing migration dependency of contenttypes to 0001_initial for support for Django 1.7
2015-06-09 15:20:09 -05:00
Jose Soares
678e84504d
[-] Missed some migrations
2015-06-09 15:17:48 -05:00
Jose Soares
e0676d4f25
[-] Migrations updates
2015-06-09 15:17:48 -05:00
Iacopo Spalletti
8e1ee59722
Documented the upgrade path from 1.0.2 and 1.0.3 plus a small migration to keep things in sync
2012-03-30 13:41:49 +02:00
Corey Oordt
5a878c06b6
Fixed another migration
2012-03-28 11:41:39 -04:00
Corey Oordt
3ee569a060
Adding additional migrations to fix potential data corruption when renaming the foreign key
2012-03-28 11:41:17 -04:00
Corey Oordt
43f7ff768d
Altering the #10 migration as it caused strange behavior with data.
2012-03-28 11:40:41 -04:00
Corey Oordt
3cfc812410
Updated migrations to include a data migration.
2012-02-15 08:54:33 -05:00
Corey Oordt
fdf968fb6e
Extracted a base class for categories to allow other apps to make their own independent category-style models.
...
* Updated for django-mptt 0.5.2
* Fixed typo in the CategoryRelation field in that the foreign key is called 'story'
* Made the order field non-null and default to 0
* Changed the parent foreign key a TreeForeignKey (for 0.5.2)
* Changed requirements to mptt>=0.5.2
* Added a migration for model changes.
2012-02-15 08:54:33 -05:00
Corey Oordt
6f6241c264
Altered the field type of the alternate url field from URL to Char. This allows relative urls, instead of full urls.
...
Added a migration in case the database complains. Really doesn't do anything on that level
2012-01-03 09:18:10 -05:00
Corey Oordt
3e8a10ad4e
Added an active flag for models
2011-08-22 09:51:11 -04:00
Corey Oordt
3b6d469b89
Due to settings, the migration for the category relations table never would be created. This fixes it
2011-08-03 14:23:30 -04:00
Corey Oordt
cedd54e85d
Added an alternate url field to the model.
2011-08-01 09:09:34 -04:00
Corey Oordt
efe3cdd06b
Refactored the thumbnail from imagefield to filefield.
...
Why? ImageField causes hits to storage to fill out certain fields. Added a storage class and width/height fields so it is possible to scale the thumbnails and store them somewhere besides the filesystem.
2011-05-11 09:01:33 -04:00
Corey Oordt
8e843fbcd1
Adding South migrations
2011-05-11 08:58:39 -04:00