Ask a lecturer or supervisor for a written reference before you leave
UCT's careers service advises getting a written reference from a supervisor or staff member before you leave the university. A reference you can attach to an application is easier to get while the person still remembers your work than months after you graduate.