Public Sector

We've had the pleasure of working with UK and overseas central and local government departments, including Healthcare (NHS and Foundation Trusts), Defence, Education (Universities and colleges), many of the main Civil Service departments, Emergency Services; also public-owned corporations including the BBC, Bank of England, Ordnance Survey, and regulatory bodies such as Ofgem.

We are registered on Crown Commercial Service’s (CCS) Dynamic Purchasing System (RM6219 Training and Learning) and also with numerous tender portals such as Ariba, Coupa and Delta E-Sourcing.

Read more...

Graduate Training Schemes

Framework Training has a strong track record of providing a solid introduction into the working world for technical graduates across myriad industries. We provide the opportunity to learn and gain valuable hands-on experience in a supportive, friendly and sociable training environment.

Attract & retain the brightest new starters

We know it is vital for our clients to invest in the future of their talented grads; not only to provide them with high-quality, professional training essential for their roles, but to embed them within the organisation’s culture and guide them on the right path to a successful career.

After all, your new hires could well be the next leaders and their creative ideas and unique insights are invaluable to your business.

Read more ...

Learning & Development

Our unique portfolio of high-quality technical courses and training programmes are industry-respected. They’re carefully designed so that delegates can seamlessly apply what they’ve learnt back in the workplace. Our team of domain experts, trainers, and support teams know our field — and all things tech — inside out, and we work hard to keep ourselves up to speed with the latest innovations. 

We’re proud to develop and deliver innovative learning solutions that actually work and make a tangible difference to your people and your business, driving through positive lasting change. Our training courses and programmes are human-centred. Everything we do is underpinned by our commitment to continuous improvement and learning and generally making things much better.

Read more...

Corporate & Volume Pricing

Whether you are looking to book multiple places on public scheduled courses (attended remotely or in our training centres in London) or planning private courses for a team within your organisation, we will be happy to discuss preferential pricing which maximise your staff education budget.

Enquire today about:

  • Training programme pricing models  

  • Multi-course voucher schemes

Read more...

Custom Learning Paths

We understand that your team training needs don't always fit into a "one size fits all" mould, and we're very happy to explore ways in which we can tailor a bespoke learning path to fit your learning needs.

Find out about how we can customise everything from short overviews, intensive workshops, and wider training programmes that give you coverage of the most relevant topics based on what your staff need to excel in their roles.

Read more...

Django REST Framework (DRF): Advanced API Production

Learn to build secure, scalable, and high-performance APIs with Python on the Django platform.

About the course

Our three-day hands-on workshop provides a comprehensive journey through Django REST Framework (DRF), guiding you from fundamental setup to advanced production architecture. We begin by establishing a solid foundation in DRF's core components—Serializers and Views—before moving into critical, real-world topics.

You will master advanced serialization, implement powerful query optimization techniques, design custom permission systems, and integrate enterprise-level security using JWT authentication. The course culminates in practical sessions on robust testing, effective documentation, and production deployment best practices, ensuring you leave as a competent DRF specialist ready to build highly scalable and secure APIs.

Instructor-led online and in-house face-to-face options are available - as part of a wider customised training programme, or as a standalone workshop, on-site at your offices or at one of many flexible meeting spaces in the UK and around the World.

    • Implement DRF Fundamentals: Confidently use DRF's built-in Serializers and ViewSets to perform standard CRUD operations.
    • Handle Complex Data: Design advanced serializers for nested data, custom fields, and managing object relationships effectively.
    • Optimize Performance: Identify and resolve common N+1 query problems and apply caching, filtering, and advanced pagination.
    • Enforce Security: Implement secure API access using custom object-level permissions and JSON Web Token (JWT) authentication.
    • Customize Architecture: Structure large projects using DRF Routers and write custom ViewSet logic for unique business requirements.
    • Ensure Quality: Write comprehensive unit and integration tests for all API components and configure production logging.
  • This course is ideal for Python Backend Developers, Software Engineers, and Data Scientists who have a solid working knowledge of the core Django framework (Models, ORM, Views) and are ready to start building or modernizing high-performance APIs.

  • Attendees should have attended our Intro to Python and Django training course, or have equivalent experience:

    • Strong Proficiency in Python 3.8+: Comfort with classes, functions, and the standard library.

    • Working knowledge of the Django framework: Experience with Django Models, the ORM, and basic views.

    • Understanding of fundamental REST principles and HTTP methods.

  • This Django Rest Framework course is available for private / custom delivery for your team - as an in-house face-to-face workshop at your location of choice, or as online instructor-led training via MS Teams (or your own preferred platform).

    Get in touch to find out how we can deliver tailored training which focuses on your project requirements and learning goals.

  • Introduction to DRF and REST Principles

    • Review of REST architecture and HTTP methods (GET, POST, PUT, DELETE).

    • Setting up the DRF environment and initial configuration in Django settings.

    • An introduction to the Browsable API.

    Basic Serializers and Data Validation

    • Creating a basic ModelSerializer for Django Models.

    • Handling data conversion and built-in validation.

    • Using simple custom validators at the field level.

    Function-Based Views (FBVs)

    • Using the @api_view decorator.

    • Implementing basic CRUD endpoints using FBVs.

    Class-Based Views and Generic Views

    • Using APIView for custom logic.

    • Utilizing Generic Views (e.g., ListAPIView, RetrieveUpdateDestroyAPIView) as CRUD shortcuts.

    Advanced Serializer Techniques

    • Handling nested relationships and writable nested serializers.

    • Writing custom SerializerMethodField for computed values.

    • Customizing serializer output with to_representation.

    ViewSets, Routers, and Structure

    • Mastering ModelViewSet and GenericViewSet.

    • Organizing the API structure using Default Routers and custom base routers.

    • Overriding ViewSet methods (get_queryset, perform_create).

    Data Filtering and Searching

    • Implementing built-in filtering (e.g., SearchFilter, OrderingFilter).

    • Advanced filtering using django-filter for custom lookups.

    • Strategies for complex searching and ordering.

    API Performance and Optimization

    • Identifying and fixing the N+1 query problem (using select_related and prefetch_related).

    • Pagination strategies (Limit/Offset, Cursor) and their appropriate use cases.

    • Introduction to basic view-level caching.

    Security Foundations and Permissions

    • Review of built-in permissions (IsAuthenticated, IsAdminUser).

    • Writing custom object-level permissions (e.g., ensuring a user can only modify their own data).

    • Implementing different throttling strategies to protect API resources.

    Advanced Authentication (JWT)

    • Implementing JSON Web Token (JWT) authentication using djangorestframework-simplejwt.

    • Managing the JWT lifecycle (token refresh, blacklisting, secure storage).

    Testing and Documentation

    • Writing robust unit tests for serializers, permissions, and custom views using Pytest.

    • Using DRF's APITestCase for functional API endpoint testing.

    • Generating comprehensive API documentation (Swagger/OpenAPI schema).

    Monitoring and Deployment

    • Configuring logging and error handling best practices.

    • Setting up CORS (Cross-Origin Resource Sharing) headers.

    • Containerization with Docker and optimizing the WSGI server (Gunicorn) for production.

  • Core Documentation and Frameworks

    These are the primary references for the underlying frameworks and tools used in the course:

    • Django REST Framework (DRF) Official Documentation:

      • The definitive guide for everything DRF, featuring detailed explanations on serializers, permissions, authentication, and advanced customization techniques.

      • https://www.django-rest-framework.org/

    • Django Official Documentation:

    Specialized Libraries

    These are the libraries covered in the "Advanced Security and Filtering" modules:

    Development and Quality Tooling

    These tools are crucial for ensuring code quality, security, and performance:

    Deployment and Production

    Here are some deployment options you may wish to consider

    • Gunicorn:

      • The recommended WSGI server for running Django and DRF applications in production with high concurrency.

      • https://gunicorn.org/

    • Docker:

      • The fundamental tool for containerizing the application, separating dependencies, and ensuring a consistent environment from development to production.

      • https://www.docker.com/

Trusted by

Amadeus Services company logo University of Glasgow logo/crest

Public Courses Dates and Rates

Please get in touch for pricing and availability.

Related courses