Get the admin url for a django model
Add this to your model to be able to get their admin change link from anywhere
Useful if you want to jump to the admin screen of an object you are looking at on the front end
from django.core...
Add this to your model to be able to get their admin change link from anywhere
Useful if you want to jump to the admin screen of an object you are looking at on the front end
from django.core...
To get inline Admin Previews in the list view
1) Inherit from PreviewAdmin in your ModelAdmin
2) In your model’s template directory, create a folder called preview, and create a template for that…
3 eggs, mushrooms, salmon, an avocado.
Tuna mango cashew
Want to display the remaining characters on a text field in admin? (based off of maxlength or an override)
#have your ModelAdmin inherit this to use class CounterAdmin(admin.ModelAdmin):...
Was out to dinner with clients so no photos. Went out for kosher vegitarian chinese. So all veggies and sauce stuff. IT WAS SO HARD NOT HAVING NAN!!!!!
A non paleo meal from last week. Mmmmmmmm
4 eggs with half a carton of mushrooms followed by and apple and a bunch of cashews
Catfish stuffed with shrimp and crab, tomatoes, onions avocado, and mixed veggies
Egg omlet with mushrooms and spinnach from deli. Almonds will also be involved
Guess I’m starting this paleo thing (I think this is paleo). Chili with sirloin peppers and beans
We needed to override the default QuerySet delete function to deal with a client problem that we were facing
Yes This is monkey-patching, and probably bad practice but if anyone needs to…