Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 907245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:31:25+00:00 2026-05-15T16:31:25+00:00

I want to do the following: Having a model (p.e. a model which handles

  • 0

I want to do the following:

Having a model (p.e. a model which handles data about photographic reports) create a section which has a preview of an specific flickr album. The URL will be provided by an URLField (until the first save the preview will not be available).

After the first save, it’ll show previews of all the images inside that album, and make them selectable (through jQuery for example). Then again, when the images are selected and the object is saved (I think I can use django signals for this) it will notify a specific user telling him a selection has been made.

Is there any plugins available, or any easy way to implement this in django-admin?

Update: 22 days and no anwers… does that mean it can’t be done in django-admin?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:31:25+00:00Added an answer on May 15, 2026 at 4:31 pm

    I personally can’t think of any easy way to implement this in the Django admin, simply because I doubt many people who’ve done it have thought to open source it. I can imagine that it would be very specific to a certain user’s / programmer’s needs.

    In any case, if you wanted to solve this issue, I’d say that your best bet would be overriding the Django admin templates in your django/contrib/admin/templates/admin folder. I believe you’d be best off by editing change_form.html.

    My basic approach would be this:

    1. Check the name of the model using opts.verbose_name. For example, if you wanted to do this processing for a model whose verbose name is “Gallery”, you would do

      {% ifequal opts.verbose_name "Gallery" %}
          <!-- neat gallery view -->
      {% else %}
          <!-- regular form -->
      {% endifequal %}
      
    2. Make a custom template tag that will display the gallery view / form given the object_id and the type of object. This way you can replace the <!-- neat gallery view --> with a {% show_gallery object_id %}. See the Django Docs for more info on creating custom template tags. It’s pretty straightforward.

    3. Add whatever Javascript or custom stuff in your template tag template. What you choose to do is up to you.

    Sorry you haven’t gotten many more answers to your question. Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Core Data model which has three entities: A, B, and C.
I want the following code to execute when the myString is having either of
i m having following type of simple sql server table Here I want to
I'm having the following issue - I want to traverse all the xml files
I want to be able to initialize a CArticle having the following properties: Private
In an application having UITabBarController , I want to implement following scenario: When user
I want to create a model that will order its children models in the
I'm having an odd problem with asp.net MVC razor view. I want my model
I have the following task. Having three models Project, User and PurchaseOrder. I want
What I want to do is the following: I have a model called Control:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.