This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/anselmos/DRF-TDD-example.git drf-tdd-example | |
cd drf-tdd-example | |
virtualenv .env | |
source .env/bin/activate | |
pip install -r requirements.txt | |
source .env/bin/activate && cd todoapp/ && python manage.py migrate | |
source .env/bin/activate && cd todoapp/ && python manage.py createsuperuser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This class provides the URI and const values to work with Any.do's Content Provider. | |
* | |
* A guide is available on http://tech.any.do/content-provider-for-any-do/ | |
*/ | |
public class TasksContract { | |
public static final Uri TASKS_URI = Uri.parse("content://com.anydo.provider/tasks"); | |
public static final Uri FOLDERS_URI = Uri.parse("content://com.anydo.provider/folders"); | |
public static final String PERMISSION_READ = "com.anydo.provider.permission.READ_ANYDO_TASKS"; |