Commit 08297756 authored by Jean-Baptiste's avatar Jean-Baptiste

Merge branch 'cleanup'

parents a4ba44f2 491c3e02
Pipeline #2812 passed with stage
in 27 seconds
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