commit
d3a6f29666
@ -1,5 +1,6 @@ |
|||||||
STYLE_CHOICES = ( |
STYLE_CHOICES = ( |
||||||
(0, "Standard"), |
(0, "Standard [Title + URL + Image]"), |
||||||
(1, "Quote"), |
(1, "Quote [Title]"), |
||||||
(2, "Image Only") |
(2, "Image Only [Image]"), |
||||||
|
(3, "Youtube [Put video id in URL]") |
||||||
) |
) |
||||||
|
|||||||
@ -0,0 +1,35 @@ |
|||||||
|
# Generated by Django 2.2.6 on 2019-10-09 10:04 |
||||||
|
|
||||||
|
from django.conf import settings |
||||||
|
from django.db import migrations, models |
||||||
|
import django.db.models.deletion |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('news', '0005_auto_20190918_0918'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AlterField( |
||||||
|
model_name='comment', |
||||||
|
name='voters', |
||||||
|
field=models.ManyToManyField(blank=True, related_name='voted_comments', to=settings.AUTH_USER_MODEL), |
||||||
|
), |
||||||
|
migrations.AlterField( |
||||||
|
model_name='player', |
||||||
|
name='post', |
||||||
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='news.Post'), |
||||||
|
), |
||||||
|
migrations.AlterField( |
||||||
|
model_name='post', |
||||||
|
name='author', |
||||||
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL), |
||||||
|
), |
||||||
|
migrations.AlterField( |
||||||
|
model_name='tag', |
||||||
|
name='post', |
||||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='news.Post'), |
||||||
|
), |
||||||
|
] |
||||||
@ -0,0 +1,22 @@ |
|||||||
|
# Generated by Django 2.2.6 on 2019-10-09 10:09 |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('news', '0006_auto_20191009_1004'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.RemoveField( |
||||||
|
model_name='tag', |
||||||
|
name='post', |
||||||
|
), |
||||||
|
migrations.AddField( |
||||||
|
model_name='tag', |
||||||
|
name='post', |
||||||
|
field=models.ManyToManyField(blank=True, null=True, to='news.Post'), |
||||||
|
), |
||||||
|
] |
||||||
@ -0,0 +1,23 @@ |
|||||||
|
# Generated by Django 2.2.6 on 2019-10-10 09:09 |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('news', '0007_auto_20191009_1009'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AddField( |
||||||
|
model_name='post', |
||||||
|
name='slug', |
||||||
|
field=models.SlugField(default='', unique=True), |
||||||
|
), |
||||||
|
migrations.AlterField( |
||||||
|
model_name='tag', |
||||||
|
name='post', |
||||||
|
field=models.ManyToManyField(blank=True, to='news.Post'), |
||||||
|
), |
||||||
|
] |
||||||
@ -0,0 +1,18 @@ |
|||||||
|
# Generated by Django 2.2.6 on 2019-10-10 09:10 |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('news', '0008_auto_20191010_0909'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AlterField( |
||||||
|
model_name='post', |
||||||
|
name='slug', |
||||||
|
field=models.SlugField(default=''), |
||||||
|
), |
||||||
|
] |
||||||
@ -0,0 +1,18 @@ |
|||||||
|
# Generated by Django 2.2.6 on 2019-10-10 09:45 |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('news', '0009_auto_20191010_0910'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AlterField( |
||||||
|
model_name='post', |
||||||
|
name='slug', |
||||||
|
field=models.SlugField(default='', max_length=200), |
||||||
|
), |
||||||
|
] |
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,24 @@ |
|||||||
|
{% extends "base.html" %} |
||||||
|
|
||||||
|
{% block title %}About - Poker Rumble{% endblock %} |
||||||
|
|
||||||
|
{% block content %} |
||||||
|
|
||||||
|
<h1>About</h1> |
||||||
|
|
||||||
|
<p> |
||||||
|
This site is owned by Stax River. |
||||||
|
</p> |
||||||
|
|
||||||
|
<h2>Host</h2> |
||||||
|
<p> |
||||||
|
This website is hosted by ALWAYSDATA, 91 rue du Faubourg Saint-Honoré, 75008 Paris (phone: +33 1 84 16 23 40). |
||||||
|
</p> |
||||||
|
|
||||||
|
<h2>GDPR</h2> |
||||||
|
<p> |
||||||
|
When creating an account on Poker Rumble, you specify an email used to retrieve your password if it's lost. We store it in a database and that's it. |
||||||
|
No selling personal data, no cookies, no crap. |
||||||
|
</p> |
||||||
|
|
||||||
|
{% endblock content %} |
||||||
@ -1,13 +1,13 @@ |
|||||||
{% extends "base.html" %} |
{% extends "base.html" %} |
||||||
|
|
||||||
{% block title %}Contact{% endblock %} |
{% block title %}Contact - Poker Rumble{% endblock %} |
||||||
|
|
||||||
{% block content %} |
{% block content %} |
||||||
|
|
||||||
<h1>Contact</h1> |
<h1>Contact</h1> |
||||||
|
|
||||||
<p> |
<p> |
||||||
Please contact us directly on social media! |
Please contact us directly on social media, @pokerrumble on <a href="https://twitter.com/pokerrumble">twitter</a> and <a href="https://www.instagram.com/pokerrumble">instagram</a>! |
||||||
</p> |
</p> |
||||||
|
|
||||||
{% endblock content %} |
{% endblock content %} |
||||||
|
|||||||
@ -1,17 +1,34 @@ |
|||||||
{% extends 'base.html' %} |
|
||||||
|
|
||||||
|
{% extends "base.html" %} |
||||||
|
|
||||||
|
{% block title %}{{ title }}{% endblock %} |
||||||
|
{% block content_title %}<h1>{{ title }}</h1>{% endblock %} |
||||||
{% block content %} |
{% block content %} |
||||||
{% if validlink %} |
|
||||||
<h3>Change password</h3> |
{% if validlink %} |
||||||
<form method="post"> |
|
||||||
{% csrf_token %} |
<p>Please enter your new password twice so we can verify you typed it in correctly.</p> |
||||||
{{ form.as_p }} |
|
||||||
<button class="primary_button" type="submit">Change password</button> |
<form method="post">{% csrf_token %} |
||||||
</form> |
<fieldset class="module aligned"> |
||||||
{% else %} |
<div class="form-row field-password1"> |
||||||
<p> |
{{ form.new_password1.errors }} |
||||||
The password reset link was invalid, possibly because it has already been used. |
<label for="id_new_password1">New password:</label> |
||||||
Please request a new password reset. |
{{ form.new_password1 }} |
||||||
</p> |
</div> |
||||||
{% endif %} |
<div class="form-row field-password2"> |
||||||
|
{{ form.new_password2.errors }} |
||||||
|
<label for="id_new_password2">Confirm password:</label> |
||||||
|
{{ form.new_password2 }} |
||||||
|
</div> |
||||||
|
<input type="submit" value="Change my password"> |
||||||
|
</fieldset> |
||||||
|
</form> |
||||||
|
|
||||||
|
{% else %} |
||||||
|
|
||||||
|
<p>The password reset link was invalid, possibly because it has already been used. Please request a new password reset.</p> |
||||||
|
|
||||||
|
{% endif %} |
||||||
|
|
||||||
{% endblock %} |
{% endblock %} |
||||||
|
|||||||
@ -1,2 +1,3 @@ |
|||||||
Someone asked for password reset for email {{ email }}. Follow the link below: |
Someone asked for a password reset for email {{ email }}. |
||||||
|
Please follow the link below: |
||||||
{{ protocol}}://{{ domain }}{% url 'news:password_reset_confirm' uidb64=uid token=token %} |
{{ protocol}}://{{ domain }}{% url 'news:password_reset_confirm' uidb64=uid token=token %} |
||||||
|
|||||||
@ -0,0 +1 @@ |
|||||||
|
Password reset request |
||||||
Binary file not shown.
Loading…
Reference in new issue