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 9050531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:40:22+00:00 2026-06-16T12:40:22+00:00

Another inherited Django project question. I would like to make it so that each

  • 0

Another inherited Django project question. I would like to make it so that each time a page is created (current example being https://bar.blah.net/detail/588/) that I can make the format as such https://bar.blah.net/detail/majorVersion.minorVersion.number
so https://bar.blah.net/detail/21.2.9 is the result. is that possible?

  • 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-06-16T12:40:24+00:00Added an answer on June 16, 2026 at 12:40 pm

    URL patterns in Django can be anything you’d like; there’s no convention. An easy way to do this is to add a permalink to your model that will calculate the format you’re looking for.

    You’ll need to add a corresponding URL pattern to resolve the pattern to your view method or class as well, and how that is constructed largely depends on what you need to do with the parameters, if any you’re passing in.

    See: https://docs.djangoproject.com/en/1.4/ref/models/instances/#the-permalink-decorator for an example on permalinks

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

Sidebar

Related Questions

I've created a webpage which is inherited from another class something like : class
I have a static library project that I inherited from another developer. I added
I've inherited a web project that was being published by another developer. The domain
I've inherited another developer's code for a project I'm working on. Here's an example
As seems my life at present, I have inherited yet another project that needs
I have an Android project I've inherited from another developer. The original code was
We have inherited a vb.net 2003 web project, it seems to reference another web
I've recently inherited a web project from a workmate who left to join another
I have this Birt report that I inherited from another developer, consisting of a
I have a rather expensive library which I've inherited from another project. This assembly

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.