A deformed relativistic Hartree-Bogoliubov (DRHB) model is developed aiming at a proper description of exotic nuclei, particularly deformed ones with large spatial extension. In order to give an adequate description of both the contribution of the continuum and the large spatial distribution in exotic nuclei, the DRHB equations are solved in a Woods-Saxon basis in which the radial wave function...