Skip to content

Conversation

@Adityashandilya555
Copy link
Contributor

@Adityashandilya555 Adityashandilya555 commented Oct 3, 2025

Both dashboard and API containers were using same namespaces causing Django warnings. Added prefix param to openwisp_controller_urls() and changed firmware namespace in API to avoid conflicts.

Fixes #241

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Reference to Existing Issue

Closes #241.

Description of Changes

  • Added prefix parameter to openwisp_controller_urls() function
  • Updated API container to use api-firmware namespace instead of firmware
  • Applied api prefix to controller URLs in API container to avoid IPAM conflicts

Testing

  • Built API container successfully with no errors
  • Verified Python syntax and imports work correctly

Screenshot

Please include any relevant screenshots.
Screenshot 2025-10-04 at 12 09 27 AM
241
Screenshot 2025-10-04 at 12 13 45 AM

Adityashandilya555 and others added 3 commits October 3, 2025 23:58
Both dashboard and API containers were using same namespaces causing
Django warnings. Added prefix param to openwisp_controller_urls()
and changed firmware namespace in API to avoid conflicts.

Fixes openwisp#241
- Changed single quotes to double quotes
- Added trailing comma for black formatter

Fixes openwisp#241
@Adityashandilya555
Copy link
Contributor Author

The QA formatting issues have been resolved.but the build is
failing due to what appears to be Debian repository hash sum mismatches

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before sending PRs, please verify there's a real issue, see:
#241 (comment)

@nemesifier nemesifier closed this Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Django warnings in API container

2 participants