Task constraints and project constraints are completely different things. Project constraints are for example, the scope, the budget, and the schedule.
Task constraints, on the other hand, are restrictions that are imposed on tasks to start or finish on a certain date, for example, "Task A must start on Tuesday, July 20th" or "Task B must end on Wednesday, August 11".