Broken toe rehab

I broke my toe at work the other day, and I have heard a lot about how toe breaks are pretty mild relative to other kinds of breaks. Would I be able to squat and deadlift once my toe doesn’t hurt if it is before the 4-6 week timeframe, or should I just be patient until it heals fully?