mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-25 21:00:18 +00:00
54ce6d5fe6
* Add basic unread bookmarks feed * Generate user-specific feed * Add feed tests * Add all bookmarks feed * Add feed token admin * Add note about renewing URLs * Add support for query parameter * Fix rebase issues * Improve docs on feeds integration Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
24 lines
793 B
Python
24 lines
793 B
Python
# Generated by Django 3.2.13 on 2022-07-23 20:35
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('bookmarks', '0014_alter_bookmark_unread'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='FeedToken',
|
|
fields=[
|
|
('key', models.CharField(max_length=40, primary_key=True, serialize=False)),
|
|
('created', models.DateTimeField(auto_now_add=True)),
|
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='feed_token', to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
]
|