Commit 491c3e02 authored by Jean-Baptiste's avatar Jean-Baptiste


parent c30fe1d6
from django.db import models
from django.contrib.auth.models import User
from django.db import models
from djangoldp_skill.models import Skill
class JobOffer(models.Model):
author = models.ForeignKey(User, on_delete=models.CASCADE)
title = models.CharField(max_length=255, blank=True, null=True)
description = models.CharField(max_length=255, blank=True, null=True)
skills = models.ManyToManyField(Skill, blank=True) # WARN : Skill imported
skills = models.ManyToManyField(Skill, blank=True)
creationDate = models.DateField(auto_now_add=True)
closingDate = models.DateField(blank=True, null=True)
"""djangoldp joboffer URL Configuration"""
from django.conf.urls import url
from djangoldp.views import LDPViewSet
from .models import JobOffer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment