Remove created_at from JobAd
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 2.2.28 on 2022-07-26 20:11
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("webapp", "0090_delete_removejobad"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name="jobad",
|
||||
name="created_at",
|
||||
),
|
||||
]
|
||||
@@ -114,8 +114,6 @@ class Event(BaseFeed):
|
||||
class JobAd(BaseFeed):
|
||||
"""Job advertisements shown on Corporate relations page"""
|
||||
|
||||
created_at = models.DateTimeField(default=timezone.now)
|
||||
|
||||
webhookUrl = f"https://{FRONTEND_URL}/jobads"
|
||||
hookType = "jobad"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user