Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
54 views

I have a problem creating a slug based on the title and pk, due to the use of parler. I'm using Parler for multilinguality in my API, and when I try to create a slug like title-pk I'm getting various ...
0 votes
1 answer
62 views

I want to create a custom post type and display it using different templates based on the URL structure. Specifically, I want to show different pages depending on the template in the URL, such as: ...
0 votes
1 answer
183 views

I want to create page where I can show all the category tree and on click on them show child tree of that category. I have functionality working as short code where i am using query string to pass ...
0 votes
1 answer
79 views

I have Attraction and Venue models. Their associations are: Attraction belongs_to :venue Venue has_many :attractions, dependent: :nullify I'm using the friendly_id gem to add slugs to both. They ...
0 votes
0 answers
72 views

I am still pretty new to Sveltekit and Supabase but I want to make a website that grabs data from a table in Supabase and using a slug to navigate to a different url depending on what the user inputs ...
-1 votes
2 answers
65 views

I am currently try make a task manager such that there are folders which have tasks in them. I am not sure what is the issue. This is urls.py from django.urls import path from . import views app_name=...
0 votes
0 answers
35 views

I have one route like this: /vehicles/vehicle-one/projects/project-one And another route like this: /vehicles/vehicle-two/projects/project-one I am using the Eloquent Sluggable package to handle the ...
0 votes
2 answers
360 views

I'm trying to get the individual slug for each job that I have posted. I am using the app router and have set up the following page: src/app/Job/[slug]/page.js Here's the code: async function ...
0 votes
1 answer
212 views

I navigate to this page with the slug param deckId, I have a dropdown menu that is bound to deckId. My problem is that when navigating to the page or refreshing the selected option disappears. The ...
0 votes
1 answer
74 views

when I use persian slug to get my post details I have a special problem.. in the pages with persian slug urls in the page start with corrent page address like this : in the page : example.com/سلام-...
0 votes
1 answer
108 views

I am using Django to develop a website, and need use slugs in URLs. When I use ids, everything works well. I have done the following steps: I have a model Posts: class Post(models.Model): title =...
Peter's user avatar
  • 1
0 votes
0 answers
39 views

I have the following error: Error in page Django admin DB Shell object The logic that I use in Django is based on a model and the ModelForm class. Here is the model: from django.db import models from ...
1 vote
1 answer
178 views

Next.js 14 using the new app router covers dynamic routes... en/[slug] ...and routes for multiple languages: [lang]/contact-us One thing that is not covered anywhere is a combination of both. I want ...
0 votes
1 answer
157 views

I have a simple model like this: class MyModel(models.Model): title = models.CharField(max_length=255) slug = AutoSlugField(populate_from='title', unique=True, error_messages={'unique':"The slug ...
0 votes
1 answer
127 views

I'm a noob in Ruby, and I have this project where I really need pages to have unique classes/ids. That would be very convenient for stying. Each page on the website has a slug. Like www.site.com/page-...

15 30 50 per page
1
2 3 4 5
...
84

AltStyle によって変換されたページ (->オリジナル) /