-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from ruben69695/fix/contact-blacklist
Added blacklist to avoid web spamming against contact form
- Loading branch information
Showing
4 changed files
with
102 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Generated by Django 4.0.4 on 2022-06-27 13:29 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0003_remove_technology_updated'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='BlacklistedWord', | ||
fields=[ | ||
('word', models.CharField(max_length=30, primary_key=True, serialize=False, verbose_name='Word')), | ||
('created', models.DateTimeField(auto_now=True, verbose_name='Created date')), | ||
], | ||
options={ | ||
'verbose_name': 'blacklisted word', | ||
'verbose_name_plural': 'blacklisted words', | ||
'ordering': ['word'], | ||
}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters